package
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Dec 2, 2021
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Debug starts a new message with debug level.
Err starts a new message with error level with err as a field if not nil or
with info level if err is nil.
Error starts a new message with error level.
Fatal starts a new message with fatal level. The os.Exit(1) function
is called by the Msg method, which terminates the program immediately.
Info starts a new message with info level.
Panic starts a new message with panic level. The panic() function
is called by the Msg method, which stops the ordinary flow of a goroutine.
Trace starts a new message with trace level.
Warn starts a new message with warn level.
type Config struct {
Level string `mapstructure:"level"`
Console bool `mapstructure:"console"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.