Documentation ¶
Index ¶
- func Alert(f string, v ...interface{})
- func Critical(f string, v ...interface{})
- func Debug(f string, v ...interface{})
- func Emergency(f string, v ...interface{})
- func Error(f string, v ...interface{})
- func ErrorWithUserInfo(f string, userId, userName string, v ...interface{})
- func Info(f string, v ...interface{})
- func Informational(f string, v ...interface{})
- func Init(nodeId string, isConsole bool)
- func Notice(f string, v ...interface{})
- func SetWriteFile(filePath string, console bool)
- func Stack() []byte
- func StackError(f string, v ...interface{})
- func Trace(f string, v ...interface{})
- func Warn(f string, v ...interface{})
- func Warning(f string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Critical ¶
func Critical(f string, v ...interface{})
Critical logs a message at critical level.
func Emergency ¶
func Emergency(f string, v ...interface{})
Emergency logs a message at emergency level.
func Error ¶
func Error(f string, v ...interface{})
Error logs a message at error level. 调用此方法时请不要使用fmt方法
func ErrorWithUserInfo ¶
Error logs With UserInfo at error level.
func Informational ¶
func Informational(f string, v ...interface{})
Informational logs a message at info level.
func SetWriteFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.