Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 248 Bytes

File metadata and controls

8 lines (7 loc) · 248 Bytes

LogTool

Golang log tool, based on logrus, integrated with logrotate and caller information, such as function, filename, line...

Usage

log := logtool.GetLogger("./log", "testlog", 7*24*time.Hour, time.Minute)
log.Info("test log tool")