diff --git a/logger.go b/logger.go index 907faa8e..fcd0b57c 100644 --- a/logger.go +++ b/logger.go @@ -14,8 +14,12 @@ type logger interface { Print(v ...interface{}) } +type LogWriter interface { + Println(v ...interface{}) +} + type Logger struct { - *log.Logger + LogWriter } var defaultLogger = Logger{log.New(os.Stdout, "\r\n", 0)}