()
| 158 | } |
| 159 | |
| 160 | func getSimpleLogger() *zap.SugaredLogger { |
| 161 | if simpleLogger == nil { |
| 162 | panic("Logger is not initialized yet!") |
| 163 | } |
| 164 | |
| 165 | return simpleLogger |
| 166 | } |
| 167 | |
| 168 | func NewFileLogger(path string) *zap.Logger { |
| 169 | fileSyncer := getLogWriter(path, 0, 0, 0) |
no outgoing calls
no test coverage detected