~emersion/soju

ac01ac01438da9af671cfe6235754d453dcbff5c — Reto Brunner 17 days ago ce19f76
Use output given to NewLogger

Previously the output param was ignored
1 files changed, 1 insertions(+), 1 deletions(-)

M server.go
M server.go => server.go +1 -1
@@ 60,7 60,7 @@ func (l logger) Debugf(format string, v ...interface{}) {

func NewLogger(out io.Writer, debug bool) Logger {
	return logger{
		Logger: log.New(log.Writer(), "", log.LstdFlags),
		Logger: log.New(out, "", log.LstdFlags),
		debug:  debug,
	}
}