Documentation
¶
Index ¶
Constants ¶
View Source
const ( LevelDebug = iota LevelInfo LevelWarn LevelError LevelFatal // Adding Fatal level )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debug(args ...any)
Debugf(format string, args ...any)
Info(args ...any)
Infof(format string, args ...any)
Warn(args ...any)
Warnf(format string, args ...any)
Error(args ...any)
Errorf(format string, args ...any)
Fatal(args ...any)
Fatalf(format string, args ...any)
}
func InitializeDefaultLogger ¶
func InitializeDefaultLogger(config c.LoggingConfig) Logger
Click to show internal directories.
Click to hide internal directories.