Documentation ¶
Overview ¶
Package zapsentry provide a zapcore.Core implementation for use sentry with zap.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModuleIgnore = []string{
"go.uber.org/zap",
"github.com/NateScarlet/zap-sentry",
}
ModuleIgnore configure stacktrace frame ignore by module prefix
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct { zapcore.LevelEnabler Hub *sentry.Hub // contains filtered or unexported fields }
Core send event to sentry.
func (*Core) Check ¶
func (c *Core) Check(ent zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry
Check implements zapcore.Core
Click to show internal directories.
Click to hide internal directories.