Change Logger Output
Author: yakuterCreated Sep 29, 2021Updated Jul 31, 2026
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 }
Source: urfave/negroni