Documentation ¶
Index ¶
- func Debug(msg string, keyvals ...any)
- func Error(msg string, keyvals ...any)
- func Fatal(msg string, keyvals ...any)
- func GetCurrentLogLevel() zerolog.Level
- func Info(msg string, keyvals ...any)
- func InitGlobalLogger(cfg *Config)
- func NewLoggerLevel(level zerolog.Level)
- func Panic(msg string, keyvals ...any)
- func SetLoggerLevel(level string)
- func Trace(msg string, keyvals ...any)
- func Warn(msg string, keyvals ...any)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentLogLevel ¶
func InitGlobalLogger ¶
func InitGlobalLogger(cfg *Config)
func NewLoggerLevel ¶
NewLoggerLevel initializes the logger level.
func SetLoggerLevel ¶
func SetLoggerLevel(level string)
SetLoggerLevel sets logger level based on env.
Types ¶
Click to show internal directories.
Click to hide internal directories.