Documentation ¶
Index ¶
- type CannonicalLog
- func (c *CannonicalLog) Check(e zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry
- func (c *CannonicalLog) Enabled(l zapcore.Level) bool
- func (c *CannonicalLog) Reset()
- func (c *CannonicalLog) Sync() error
- func (c *CannonicalLog) With(f []zapcore.Field) zapcore.Core
- func (c *CannonicalLog) Write(e zapcore.Entry, f []zapcore.Field) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CannonicalLog ¶
type CannonicalLog struct { WrappedCore zapcore.Core EmptyCore zapcore.Core Fields []zapcore.Field // contains filtered or unexported fields }
func (*CannonicalLog) Check ¶
func (c *CannonicalLog) Check(e zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry
func (*CannonicalLog) Reset ¶ added in v0.2.0
func (c *CannonicalLog) Reset()
Reset will clear all set fields to allow the core to be reused
func (*CannonicalLog) Sync ¶
func (c *CannonicalLog) Sync() error
Click to show internal directories.
Click to hide internal directories.