Documentation ¶
Overview ¶
Package logging is the package that contains logging library.
Index ¶
- func Debugf(format string, a ...interface{})
- func Errorf(format string, a ...interface{}) error
- func Panicf(format string, a ...interface{})
- func SetLogFile(filename string)
- func SetLogLevel(levelStr string)
- func SetLogOptions(options *LogOptions)
- func SetLogStderr(enable bool)
- func Verbosef(format string, a ...interface{})
- type Level
- type LogOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, a ...interface{})
Debugf prints logging if logging level >= debug
func Panicf ¶
func Panicf(format string, a ...interface{})
Panicf prints logging plus stack trace. This should be used only for unrecoverable error
func SetLogOptions ¶ added in v3.9.1
func SetLogOptions(options *LogOptions)
SetLogOptions set the LoggingOptions of NetConf
Types ¶
Click to show internal directories.
Click to hide internal directories.