diff --git a/logger.go b/logger.go index f4c79ead..2c4ccbbc 100644 --- a/logger.go +++ b/logger.go @@ -20,13 +20,14 @@ type logger interface { Print(v ...interface{}) } -type logWriter interface { +// LogWriter log writer interface +type LogWriter interface { Println(v ...interface{}) } // Logger default logger type Logger struct { - logWriter + LogWriter } // Print format & print log