# README
logger
- 支持配置日志级别
- 支持自定义拆分方式
- 默认按大小拆分 1G
- 还支持按时间拆分
使用方法
go get -u github.com/ropon/logger
使用方法
func main() {
logger.InitLog()
logger.Info("这是一条信息日志")
}
# Packages
No description provided by the author
# Functions
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
No description provided by the author
No description provided by the author
NewConsoleLogger 构造终端结构体函数.
NewFileLogger 日志结构体 构造函数.
No description provided by the author
No description provided by the author
# Constants
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
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
# Variables
No description provided by the author
# Structs
ConsoleLogger 终端结构体.
FileLogger 日志结构体.
No description provided by the author
LogMsg 定义日志信息结构体.
# Interfaces
Logger 是一个日志接口.