Documentation ¶
Index ¶
- Variables
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func InitLog(logFile string, logLevel string, maxdays int64, disableLogColor bool)
- func SetLogFile(logFile string, maxdays int64, disableLogColor bool)
- func SetLogLevel(logLevel string)
- func Trace(format string, v ...interface{})
- func Warn(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *logs.BeeLogger
Log is the under log object
Functions ¶
func SetLogFile ¶
SetLogFile to configure log params
func SetLogLevel ¶
func SetLogLevel(logLevel string)
SetLogLevel set log level, default is warning value: error, warning, info, debug, trace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.