# Packages
No description provided by the author
# Functions
AddESHook AddESHook.
Debug show log without format.
Debugf show log with format.
Debugln show log without format with line(CLCF).
Error show log without format.
Errorf show log with format.
Errorln show log without format with line(CLCF).
Fatal show log without format.
Fatalf show log with format.
Fatalln show log without format with line(CLCF).
GetCurLevel (Alias Name Of Level() func) return result from Level().
GetLocalIP get local private ip.
Info show log without format.
Infof show log with format.
Infoln show log without format with line(CLCF).
IsDebugLevel Returen is debug mode or not.
IsLogLevel Returen is <level> mode or not.
Level return current log level.
Panic show log without format.
Panicf show log with format.
Panicln show log without format with line(CLCF).
Print show log without format.
Printf show log with format.
Println show log without format with line(CLCF).
SetLevel 优先于环境变量 环境变量名LOGGER_LEVEL,5=Debug 4=Info,3=Warn,2=Error,1=Fatal,0=Panic.
SetServiceName 优先于环境变量 环境变量名LOGGER_SERVICENAME.
UseJSONFormatter 优先于环境变量.
UseTextFormatter 优先于环境变量.
Warn show log without format.
Warnf show log with format.
Warning show log without format.
Warningf show log with format.
Warningln show log without format with line(CLCF).
Warnln show log without format with line(CLCF).
# Structs
Logger 环境变量名LOGGER_FORMATTER,只能设置两个值:json、textTODO back log :watch level changeTODO back log :staticTODO review code: logTODO load config from envirement.
# Interfaces
ILogger Interface for Logger.