Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(s string)
Fatal logs the message and exits with non-zero exit code with the default logger
Types ¶
type LogParams ¶
type LogParams map[string]interface{}
LogParams wrapper around key values used for logging
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger for logging
var DefaultLogger *Logger
DefaultLogger stores the instance of the DefaultLogger
func (*Logger) Destroy ¶
func (l *Logger) Destroy()
Destroy should be called when exiting to close the log file
Click to show internal directories.
Click to hide internal directories.