Documentation ¶
Index ¶
- func Debug(msg string, keyvals ...interface{})
- func Error(msg string, keyvals ...interface{})
- func Fatal(msg string, keyvals ...interface{})
- func GetCurrentLogLevel() zerolog.Level
- func Info(msg string, keyvals ...interface{})
- func InitGlobalLogger(config config.Logger)
- func NewLoggerLevel(level zerolog.Level)
- func Panic(msg string, keyvals ...interface{})
- func SetLoggerLevel(level string)
- func Trace(msg string, keyvals ...interface{})
- func Warn(msg string, keyvals ...interface{})
- type SubLogger
- func (sl *SubLogger) Debug(msg string, keyvals ...interface{})
- func (sl *SubLogger) Error(msg string, keyvals ...interface{})
- func (sl *SubLogger) Fatal(msg string, keyvals ...interface{})
- func (sl *SubLogger) Info(msg string, keyvals ...interface{})
- func (sl *SubLogger) Panic(msg string, keyvals ...interface{})
- func (sl *SubLogger) Trace(msg string, keyvals ...interface{})
- func (sl *SubLogger) Warn(msg string, keyvals ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentLogLevel ¶
func InitGlobalLogger ¶
func NewLoggerLevel ¶
NewLoggerLevel initializes the logger level.
Types ¶
type SubLogger ¶
type SubLogger struct {
// contains filtered or unexported fields
}
func NewSubLogger ¶
Click to show internal directories.
Click to hide internal directories.