| 20 | ) |
| 21 | |
| 22 | type Logger struct { |
| 23 | FileLogger *cblog.Logger |
| 24 | Progress bool |
| 25 | ProgressLogDir string |
| 26 | modeStarts map[Mode]int64 |
| 27 | modeStartsLock *sync.Mutex |
| 28 | lastPrint int64 |
| 29 | } |
| 30 | |
| 31 | func (l *Logger) Init() error { |
| 32 | if l.FileLogger == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected