Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HighlightCore ¶
type HighlightCore struct { zapcore.LevelEnabler // contains filtered or unexported fields }
func NewHighlightCore ¶
func NewHighlightCore(minLevel zapcore.Level) *HighlightCore
NewHighlightCore creates a new core to transmit logs to highlight. Highlight token and other options should be set before creating a new core
func (*HighlightCore) Check ¶
func (c *HighlightCore) Check(entry zapcore.Entry, checkedEntry *zapcore.CheckedEntry) *zapcore.CheckedEntry
Check determines if this should be sent to roll bar based on LevelEnabler
func (*HighlightCore) Sync ¶
func (c *HighlightCore) Sync() error
Click to show internal directories.
Click to hide internal directories.