Documentation ¶
Index ¶
- Constants
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func GetLogLevel() string
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func InitializeLogger() zerolog.Logger
- func IsDebug() bool
- func IsTrace() bool
- func Trace(args ...interface{})
- func Tracef(format string, args ...interface{})
- func Warning(args ...interface{})
- func Warningf(format string, args ...interface{})
- type Format
Constants ¶
View Source
const ( FallbackLogFormat = "text" FallbackTimeFieldFormat = time.RFC3339 )
Variables ¶
This section is empty.
Functions ¶
func GetLogLevel ¶ added in v1.62.0
func GetLogLevel() string
Return log level Used to get debug info
func InitializeLogger ¶ added in v1.27.0
Configures the global log level and log format.
Types ¶
Click to show internal directories.
Click to hide internal directories.