op / go-logging

Golang logging library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support log file auto rotate

wangfakang opened this issue · comments

commented

hi @op I have some questions about go-logging (write log to file)how to support auto logroate?
thx.

One example is found here[1]. I'm sure there are many others. You can always use any type of io.Writer with the log backend.

[1] https://github.com/stathat/rotate