simplelog/demo/main.go
rick.chan b83b25afa8 迁移项目。
Signed-off-by: rick.chan <cy@haoan119.com>
2025-04-01 13:54:55 +08:00

12 lines
207 B
Go

package main
import (
"github.com/lion187chen/simplelog"
)
var sl *simplelog.SimpleLog
func main() {
sl = new(simplelog.SimpleLog).InitRotating("./log/MS.log", 1024*1024*2, 100, simplelog.LevelTrace)
}