negroni icon indicating copy to clipboard operation
negroni copied to clipboard

Change Logger Output

Open yakuter opened this issue 4 years ago • 0 comments

Hello, is there a way to change log output? I want to log into file, not stdout.

I think it should be nice to have a helper functin at logger something like:

func (l *Logger) SetOutput(out io.Writer) { l.output = out }

yakuter avatar Sep 29 '21 07:09 yakuter