()
| 83 | var glogger *log.GlogHandler |
| 84 | |
| 85 | func init() { |
| 86 | terminalOutput := io.Writer(os.Stderr) |
| 87 | glogger := log.NewGlogHandler(log.NewTerminalHandler(terminalOutput, false)) |
| 88 | glogger.Verbosity(log.LvlInfo) |
| 89 | log.SetDefault(log.NewLogger(glogger)) |
| 90 | } |
| 91 | |
| 92 | // Setup initializes profiling and logging based on the CLI flags. |
| 93 | // It should be called as early as possible in the program. |
nothing calls this directly
no outgoing calls
no test coverage detected