Skip to content

willianflasky/mylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mylogger

  1. main.go列出使用方式。
  2. 当mylogger.NewFileLogger("info", "./", "a.log")初始化为info时,即小于info的日志,即:debug就不再打印了。
  3. file.go -> NewFileLogger -> maxsize 默认日志大于100MB就能切割。

About

mylogger module for golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages