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

Struct Syslog

daemon/log/loggers/syslog.go:16–22  ·  view source on GitHub ↗

Syslog defines the logger that writes traces to the syslog. It can write to the local or a remote daemon.

Source from the content-addressed store, hash-verified

14// Syslog defines the logger that writes traces to the syslog.
15// It can write to the local or a remote daemon.
16type Syslog struct {
17 Writer *syslog.Writer
18 cfg LoggerConfig
19 logFormat formats.LoggerFormat
20 Name string
21 Tag string
22}
23
24// NewSyslog returns a new object that manipulates and prints outbound connections
25// to syslog (local or remote), with the given format (RFC5424 by default)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected