Documentation
¶
Index ¶
- Variables
- func Close()
- func Debug() *zerolog.Event
- func Error() *zerolog.Event
- func Fatal() *zerolog.Event
- func GetLevel() zerolog.Level
- func Info() *zerolog.Event
- func Init(cfg Config)
- func NoLevel() *zerolog.Event
- func Panic() *zerolog.Event
- func Reload(cfg Config)
- func Warn() *zerolog.Event
- type Config
- type FileConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AppName string
)
View Source
var DefaultLoggerConfig = Config{ Level: zerolog.ErrorLevel, }
Functions ¶
Types ¶
type Config ¶ added in v2.3.0
type Config struct { Level zerolog.Level File *FileConfig }
Click to show internal directories.
Click to hide internal directories.