Documentation
¶
Index ¶
Constants ¶
View Source
const ( ComponentName = "audit" JSONEncoder = "json" StdOutSinkName = "stdout" StdErrSinkName = "stderr" LoggerLevel = "level" LoggerTimestamp = "timestamp" LoggerLogger = "logger" LoggerCaller = "caller" LoggerMessage = "message" LoggerStacktrace = "stacktrace" )
Variables ¶
This section is empty.
Functions ¶
func ContextWithTraceID ¶
func LoggerWithContext ¶
func LoggerWithContext(ctx context.Context) *zap.SugaredLogger
LoggerWithContext func
func SetOutputSinks ¶
Types ¶
type ZapLogLevelMapper ¶
type ZapLogLevelMapper struct {
}
Click to show internal directories.
Click to hide internal directories.