MCPcopy
hub / github.com/evilsocket/opensnitch / SetLoggers

Method SetLoggers

daemon/statistics/stats.go:91–95  ·  view source on GitHub ↗

SetLoggers sets the configured loggers where we'll write the events.

(loggermgr *loggers.LoggerManager)

Source from the content-addressed store, hash-verified

89
90// SetLoggers sets the configured loggers where we'll write the events.
91func (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.

Callers 2

mainFunction · 0.80
reloadConfigurationMethod · 0.80

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected