lyx003288 / log

log - Go level and rotate log

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go level and rotate log

level

  • built-in 8 levels
  • change level name
  • add custom level

error

  • logging when an error occurs

rotate

  • by time
  • by file size
  • by file count
  • daily

redirect

  • stdout
  • stderr
I hate writing documentation but RTFSC.
I hate writing test cases but I have tested it. I did my best.

About

log - Go level and rotate log

License:MIT License


Languages

Language:Go 100.0%