# Functions
Close 关闭日志.
Debug 打印调试日志.
Debugf 打印调试模板日志.
Error 打印错误日志.
Errorf 打印错误模板日志.
Fatal 打印致命错误日志.
Fatalf 打印致命错误模板日志.
GetLogger 获取日志记录器.
Info 打印信息日志.
Infof 打印信息模板日志.
No description provided by the author
No description provided by the author
Panic 打印Panic日志.
Panicf 打印Panic模板日志.
No description provided by the author
Print 打印日志,不含堆栈信息.
Printf 打印模板日志,不含堆栈信息.
SetLogger 设置日志记录器.
Warn 打印警告日志.
Warnf 打印警告模板日志.
WithCallerFullPath 设置是否启用调用文件全路径.
WithCallerSkip 设置调用者跳过的层级深度.
WithClassifiedStorage 设置启用文件分级存储 启用后,日志将进行分级存储,大一级的日志将存储于小于等于自身的日志级别文件中 例如:InfoLevel级的日志将存储于due.debug.20220910.log、due.info.20220910.log两个日志文件中.
WithFile 设置输出的文件路径.
WithFileCutRule 设置文件切割规则.
WithFileMaxAge 设置文件最大留存时间.
WithFileMaxSize 设置输出的单个文件尺寸限制.
WithFormat 设置输出的日志格式.
WithLevel 设置输出的最低日志级别.
WithStackLevel 设置堆栈的最小输出级别.
WithStdout 设置是否输出到终端.
WithTimeFormat 设置时间格式.
# Constants
按照日切割.
按照时切割.
按照分切割.
按照月切割.
按照秒切割.
按照年切割.
DEBUG.
ERROR.
FATAL.
INFO.
JSON格式.
NONE.
PANIC.
文本格式.
WARN.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author