Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶ added in v0.3.0
func (Entry) MarshalLogObject ¶ added in v0.3.0
func (e Entry) MarshalLogObject(enc zapcore.ObjectEncoder) error
type Error ¶
func (Error) MarshalLogObject ¶
func (err Error) MarshalLogObject(enc zapcore.ObjectEncoder) error
type Logger ¶
func (*Logger) SetTraceCapturer ¶
func (l *Logger) SetTraceCapturer(capturer TraceCapturer)
type TraceCapturerFunc ¶
func (TraceCapturerFunc) CaptureTrace ¶
func (f TraceCapturerFunc) CaptureTrace(ctx context.Context) []zap.Field
Click to show internal directories.
Click to hide internal directories.