package
0.0.0-20231111115710-5bee1ffd82ce
Repository: https://github.com/tomhjx/xlog.git
Documentation: pkg.go.dev
# Functions
AllowZapFields controls whether strongly-typed Zap fields may be passed instead of a key/value pair.
DPanicOnBugs controls whether extra log messages are emitted for invalid log calls with zap's DPanic method.
ErrorKey replaces the default "error" field name used for the error in Logger.Error calls.
LogInfoLevel controls whether a numeric log level is added to Info log message.
No description provided by the author
NewLogger creates a new logr.Logger using the given Zap Logger to log.
NewLoggerWithOptions creates a new logr.Logger using the given Zap Logger to log and applies additional options.
# Variables
No description provided by the author
No description provided by the author
# Interfaces
Underlier exposes access to the underlying logging implementation.
# Type aliases
Option is one additional parameter for NewLoggerWithOptions.