Documentation ¶
Index ¶
- Variables
- func NewReportWriter(level string) io.Writer
- func OnReport(handler func(*ReportEvent))
- func SentryCaptureArgs()
- func SentryCaptureError(err error)
- func SentryCaptureMessage(message string)
- func SentryFlush()
- func SentryInit(dsn string) error
- func SentryRecover()
- func Topic(topic string) zerolog.Logger
- type ReportEvent
- type ReportWriter
Constants ¶
This section is empty.
Variables ¶
View Source
var CLI_DSN = "https://a93da0b87a654895a96ab3a1e4101792@o170438.ingest.sentry.io/4503898727907328"
View Source
var Debug = zlog.Debug
View Source
var Error = zlog.Error
View Source
var Fatal = zlog.Fatal
View Source
var Info = zlog.Info
View Source
var Panic = zlog.Panic
View Source
var Warn = zlog.Warn
Functions ¶
func NewReportWriter ¶ added in v0.12.0
func OnReport ¶ added in v0.6.0
func OnReport(handler func(*ReportEvent))
func SentryCaptureArgs ¶ added in v0.12.0
func SentryCaptureArgs()
func SentryCaptureError ¶ added in v0.12.0
func SentryCaptureError(err error)
func SentryCaptureMessage ¶ added in v0.12.0
func SentryCaptureMessage(message string)
func SentryFlush ¶ added in v0.12.0
func SentryFlush()
func SentryInit ¶ added in v0.12.0
func SentryRecover ¶ added in v0.12.0
func SentryRecover()
Types ¶
type ReportEvent ¶ added in v0.12.0
type ReportWriter ¶ added in v0.12.0
type ReportWriter struct {
Level string
}
Click to show internal directories.
Click to hide internal directories.