Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextLogger ¶
type ContextLogger struct { }
ContextLogger is a zapcore.Core that logs to the current span in the context.
log configuration set the `callerSkip: 4` for matching the stacktrace
func NewContextZapLogger ¶
func NewContextZapLogger() *ContextLogger
Click to show internal directories.
Click to hide internal directories.