Documentation
¶
Index ¶
- func Debugf(format string, args ...interface{})
- func Error(err error)
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func Initialize(cfg *Config)
- func Shutdown()
- func Warnf(format string, args ...interface{})
- type Config
- type LogLevel
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs a 'debug' message to the log file and echoes it to the console.
func Error ¶
func Error(err error)
Error logs an 'error' value to the log file and echoes it to the console.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs an 'error' message to the log file and echoes it to the console.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf logs a 'fatal' message to the log file and echoes it to the console. Application will terminate after logging.
func Infof ¶
func Infof(format string, args ...interface{})
Infof logs an 'info' message to the log file and echoes it to the console.
Types ¶
type Config ¶ added in v0.2.0
Config represents a logger manager configuration.
func (*Config) UnmarshalYAML ¶ added in v0.2.0
UnmarshalYAML satisfies Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.