Documentation ¶
Index ¶
- func AddForceErrorOption() *string
- func ForceException()
- func OpenLogOrNil(logPath string) io.Writer
- func RunForceErrorOption(forceError string, errorFunc func(string))
- func SetupGoLogging(logPath string, dsn string, andStandardLog bool)
- func SetupLog(logPath string, dsn string)
- func SetupLogrus(logPath string, dsn string)
- func UncontrolledCrash()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddForceErrorOption ¶
func AddForceErrorOption() *string
func ForceException ¶
func ForceException()
func OpenLogOrNil ¶
func RunForceErrorOption ¶
func SetupGoLogging ¶
andStandardLog - hook https://golang.org/pkg/log calls also
func SetupLogrus ¶
func UncontrolledCrash ¶
func UncontrolledCrash()
go program may neither avoid crash from this, nor manage it - the panic mandatory goes to stderr + os.exit(2) see https://github.com/golang/go/issues/20161
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package sentry implements sending errors and messages to Sentry with proper aggregation.
|
Package sentry implements sending errors and messages to Sentry with proper aggregation. |
Package watcher implements StartWatcher() function to catch Golang panics with a special watchdog process.
|
Package watcher implements StartWatcher() function to catch Golang panics with a special watchdog process. |
Click to show internal directories.
Click to hide internal directories.