Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(v ...interface{})
Fatal logs a message with severity ERROR followed by a call to os.Exit().
func SetFormatter ¶
func SetFormatter(format string)
SetFormatter sets the log formatter. Valid formatters are json and text.
func SetLevel ¶
SetLevel sets the log level. Valid levels are panic, fatal, error, warn, info and debug.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.