Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogLevelInfo = "info" LogLevelWarn = "warn" LogLevelError = "error" LogLevelDebug = "debug" )
Variables ¶
View Source
var ( DefaultLogLevel = "INFO" DefaultLogLevelKey = "level" DefaultLogLevelEncoder = "capital" )
View Source
var Logger *zap.SugaredLogger
Functions ¶
Types ¶
type ProviderLogWrapper ¶ added in v0.15.0
type ProviderLogWrapper struct {
ZP *zap.SugaredLogger
}
func (*ProviderLogWrapper) Debug ¶ added in v0.15.0
func (l *ProviderLogWrapper) Debug(msg string)
func (*ProviderLogWrapper) Error ¶ added in v0.15.0
func (l *ProviderLogWrapper) Error(err error, msg string)
func (*ProviderLogWrapper) Info ¶ added in v0.15.0
func (l *ProviderLogWrapper) Info(msg string)
Click to show internal directories.
Click to hide internal directories.