Documentation ¶
Index ¶
- Constants
- func Alert(f interface{}, v ...interface{})
- func Async(msgLen ...int64) *logs.BeeLogger
- func Close()
- func Critical(f interface{}, v ...interface{})
- func Debug(f interface{}, v ...interface{})
- func Emergency(f interface{}, v ...interface{})
- func EnableFuncCallDepth(b bool)
- func Error(f interface{}, v ...interface{})
- func Info(f interface{}, v ...interface{})
- func Informational(f interface{}, v ...interface{})
- func Notice(f interface{}, v ...interface{})
- func Reset()
- func SetLevel(l int)
- func SetLogFuncCall(b bool)
- func SetLogFuncCallDepth(d int)
- func SetLogger(adapter string, config ...string) error
- func SetPrefix(s string)
- func Trace(f interface{}, v ...interface{})
- func Warn(f interface{}, v ...interface{})
- func Warning(f interface{}, v ...interface{})
- type LoggerAdapter
Constants ¶
View Source
const ( AdapterConsole = "console" AdapterFile = "file" AdapterMultiFile = "multifile" AdapterMail = "smtp" AdapterConn = "conn" AdapterEs = "es" AdapterJianLiao = "jianliao" AdapterSlack = "slack" AdapterAliLS = "alils" )
Variables ¶
This section is empty.
Functions ¶
func EnableFuncCallDepth ¶
func EnableFuncCallDepth(b bool)
func Informational ¶
func Informational(f interface{}, v ...interface{})
func SetLogFuncCall ¶
func SetLogFuncCall(b bool)
func SetLogFuncCallDepth ¶
func SetLogFuncCallDepth(d int)
Types ¶
type LoggerAdapter ¶
func NewLoggerAdapter ¶
func NewLoggerAdapter() *LoggerAdapter
Click to show internal directories.
Click to hide internal directories.