package
2.1.1+incompatible
Repository: https://github.com/luyingjie/utils.git
Documentation: pkg.go.dev
# Functions
添加flag标记.
回收日志处理
*/.
设置关闭debug.
No description provided by the author
====> Debug <====.
No description provided by the author
====> Error <====.
No description provided by the author
====> Fatal 需要终止程序 <====.
获取Log 标记位.
No description provided by the author
====> Info <====.
创建一个日志
out: 标准输出的文件io
prefix: 日志的前缀
flag: 当前日志头部信息的标记位
*/.
设置打开debug.
No description provided by the author
====> Panic <====.
设置Log标记位.
设置Log绑定的日志文件.
设置Log 日志头前缀.
====> Stack <====.
No description provided by the author
====> Warn <====.
# Constants
日期标记位 2019/01/23.
默认日志头部格式.
当前日志级别: 0(Debug), 1(Info), 2(Warn), 3(Error), 4(Panic), 5(Fatal).
完整文件名称 /home/go/src/vic/server.go.
微秒级标记位 01:23:12.111222.
最后文件名 server.go.
标准头部日志格式.
时间标记位 01:23:12.
No description provided by the author
日志级别.
日志级别.
日志级别.
日志级别.
日志级别.
日志级别.
# Variables
No description provided by the author