SetLoggers sets the configured loggers where we'll write the events.
(loggermgr *loggers.LoggerManager)
| 89 | |
| 90 | // SetLoggers sets the configured loggers where we'll write the events. |
| 91 | func (s *Statistics) SetLoggers(loggermgr *loggers.LoggerManager) { |
| 92 | s.Lock() |
| 93 | s.logger = loggermgr |
| 94 | s.Unlock() |
| 95 | } |
| 96 | |
| 97 | // SetLimits configures the max events to keep in the backlog before sending |
| 98 | // the stats to the UI, or while the UI is not connected. |
no test coverage detected