DefaultLogger is a default implementation of the Logger interface.
| 42 | |
| 43 | // DefaultLogger is a default implementation of the Logger interface. |
| 44 | type DefaultLogger struct { |
| 45 | *log.Logger |
| 46 | debug bool |
| 47 | } |
| 48 | |
| 49 | func (l *DefaultLogger) EnableTimestamps() { |
| 50 | l.SetFlags(l.Flags() | log.Ldate | log.Ltime) |
nothing calls this directly
no outgoing calls
no test coverage detected