Documentation ¶
Overview ¶
Package logging holds the code to have a uniform logging style for all output.
Index ¶
- func Debug(msg string, args ...interface{})
- func Error(msg string, args ...interface{})
- func Error1(err error)
- func ErrorAndPanic(msg string, args ...interface{})
- func Fatal(msg string, args ...interface{})
- func Info(msg string, args ...interface{})
- func InfoEnabled() bool
- func Init(conf *viper.Viper)
- func Init1(logLevel string, logTarget string)
- func Panic(msg string, args ...interface{})
- func SetLogLevel(logLevel string)
- func Trace(msg string, args ...interface{})
- func Warn(msg string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorAndPanic ¶
func ErrorAndPanic(msg string, args ...interface{})
ErrorAndPanic is now deprecated. It is equivalent to Panic.
func SetLogLevel ¶
func SetLogLevel(logLevel string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.