Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventIDKey = "event_id" ProjectKey = "project" TimestampKey = "timestamp" LoggerKey = "logger" PlatformKey = "platform" CulpritKey = "culprit" ServerNameKey = "server_name" ErrorKey = "error" HTTPRequestKey = "http_request" )
View Source
const ( DefaultStackTraceContext = 5 DefaultWaitEnabler = zapcore.PanicLevel )
View Source
const ErrorStackTraceKey = "error_stack_trace"
View Source
const SkipKey = "_zapsentry_skip"
View Source
const TagPrefix = "#"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Core ¶
type Core struct { zapcore.LevelEnabler // contains filtered or unexported fields }
func NewCore ¶
func NewCore(enab zapcore.LevelEnabler, client *raven.Client, options ...Option) *Core
func (*Core) Check ¶
func (core *Core) Check(entry zapcore.Entry, checked *zapcore.CheckedEntry) *zapcore.CheckedEntry
type Option ¶
type Option func(*Core)
func SetStackTraceContext ¶
func SetStackTraceSkip ¶
func SetWaitEnabler ¶
func SetWaitEnabler(enab zapcore.LevelEnabler) Option
type StackTracer ¶
type StackTracer interface {
StackTrace() errors.StackTrace
}
Click to show internal directories.
Click to hide internal directories.