package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Mar 2, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Init(fileName string, maxSize, maxBackups, maxAge int, logLevel uint32)
logs init
maxSize 单位M
maxBackups 最大备份数
maxAge 最大过期时间 天
logLevel 0-6:panic-trace,设置值越大,日志越详细
Source Files
¶
Click to show internal directories.
Click to hide internal directories.