-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一定要用close吗? #11
Comments
|
谢谢,前面几个问题都解决了。 |
设置的rotateSize这个参数不起作用,我在for中跑,文件到50M还在继续增长。
ugenehan@126.com
发件人: StackoverFrog
发送时间: 2016-11-30 10:07
收件人: YoungPioneers/blog4go
抄送: ugenehan; Author
主题: Re: [YoungPioneers/blog4go] 一定要用close吗? (#11)
需要输出到文件可以参考下examples。file writer use config file
在无限循环里面调用log.Info 等各级别日志函数就可以输出到文件里面了
强烈建议在程序结束前调用Close方法.
请问使用文档觉得需要补充什么呢?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
我这边测试rotateSize也不起作用 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在无限循环里面如何输出到文件?必须用close吗?使用文档不太好。
The text was updated successfully, but these errors were encountered: