Versions in this module Expand all Collapse all v0 v0.1.0 May 13, 2022 Changes in this version + func Close() error + func Critical(message string) + func CriticalF(message string, f ...any) + func Debug(message string) + func DebugF(message string, f ...any) + func Error(message string) + func ErrorF(message string, f ...any) + func Fatal(message string) + func FatalF(message string, f ...any) + func Info(message string) + func InfoF(message string, f ...any) + func SetDefaultLogger(logger Logger) + func Warn(message string) + func WarnF(message string, f ...any) + type Level int + const LevelCritical + const LevelDebug + const LevelError + const LevelFatal + const LevelInfo + const LevelTrace + const LevelWarn + func OfLevel(level string) Level + func (l *Level) UnmarshalJSON(data []byte) error + func (l *Level) UnmarshalYAML(unmarshal func(interface{}) error) error + func (l Level) MarshalJSON() ([]byte, error) + func (l Level) MarshalYAML() (interface{}, error) + func (l Level) String() string + func (l Level) StringC() string + type Logger struct + func New(settings *Settings) (*Logger, error) + func (l *Logger) Close() error + type Settings struct + Format string + Level Level + LogPath string + PanicLevel Level