package
0.0.0-20240325102905-c91824a6ecb7
Repository: https://github.com/linkha/automatix.git
Documentation: pkg.go.dev
# Functions
AddFlag adds a flag to StdZinxLog.
CleanZinxLog Recycle log resources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Flags gets the flags of StdZinxLog.
No description provided by the author
No description provided by the author
No description provided by the author
NewZinxLog Create a new log
out: The file io for standard output
prefix: The prefix of the log
flag: The flag of the log header information
*/.
No description provided by the author
No description provided by the author
ResetFlags sets the flags of StdZinxLog.
SetCons 同时输出控制台.
SetLogFile sets the log file of StdZinxLog.
No description provided by the author
SetLogLevel sets the log level of StdZinxLog.
SetMaxAge 最大保留天数.
SetMaxSize 单个日志最大容量 单位:字节.
SetPrefix sets the log prefix of StdZinxLog.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Date flag bit 2019/01/23 (日期标记位).
Default log header format (默认日志头部格式).
Current log level: 0(Debug), 1(Info), 2(Warn), 3(Error), 4(Panic), 5(Fatal) (当前日志级别).
Complete file name /home/go/src/zinx/server.go (完整文件名称).
Microsecond flag bit 01:23:12.111222 (微秒级标记位).
Last file name server.go (最后文件名).
Standard log header format (标准头部日志格式).
Time flag bit 01:23:12 (时间标记位).
No description provided by the author
Log Level.
Log Level.
Log Level.
Log Level.
Log Level.
Log Level.
# Variables
StdZinxLog creates a global log.
# Structs
No description provided by the author
# Interfaces
No description provided by the author