@@ -22,7 +22,8 @@ func New(w io.Writer) *Logger {
// DefaultLogger defult logger
func DefaultLogger(w io.Writer) *Logger {
- return New(w)
+ defLog = New(w)
+ return defLog
}
// Writer returns the output destination for the standard logger.