📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能
Home Page:https://pkg.go.dev/github.com/gookit/slog
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
pya789 opened this issue a year ago · comments
第一步:1月31号触发maxSize切割文件并压缩 第二部:更改系统时间为2月1号,并触发RotateTime RotateTime只压缩了当前读写的文件并且时间为2月1号,里面的内容也不对
更新到新版本试试看
好的 谢谢