StartFileLogging logs the output of the global logger to the file default.log
()
| 34 | |
| 35 | // StartFileLogging logs the output of the global logger to the file default.log |
| 36 | func StartFileLogging() { |
| 37 | defaultLog.AddSink(GetFileLogger("default")) |
| 38 | OverrideRuntimeErrorHandler(false) |
| 39 | } |
| 40 | |
| 41 | // GetInstance returns the Logger instance |
| 42 | func GetInstance() Logger { |
no test coverage detected