Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogInternalErrors ¶
LogInternalErrors logs rollbar post errors
func MkHandler ¶
func MkHandler(c Config) log15.FuncHandlerT
MkHandler creates a handler for Rollbar service
func WaitForRollbar ¶
func WaitForRollbar(logger ReporterLogger)
WaitForRollbar is a panic handler that waits for rollbar if rollbar is configured.
Types ¶
type ReporterLogger ¶
type ReporterLogger interface { Crit(msg string, ctx ...interface{}) Debug(msg string, ctx ...interface{}) }
ReporterLogger is a reduced logger interface for critical messages
Click to show internal directories.
Click to hide internal directories.