kataras / golog

A high-performant Logging Foundation for Go Applications. X3 faster than the rest leveled loggers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can i put the logs into my another log file?

Ravlyon opened this issue · comments

I use supervisor to start my project, how can i put logs into "error.log" but not "access.log" using golog?

hello~

Hello @Ravlyon, you can change the output to whatever file you need. See the examples.

I am not using linux supervisor tool in order to know how it works internally. Could you please give us an example of the std log package of go or other log package so I could write you the equivalent code for golog?

Thanks and sorry for the delay.