Documentation ¶
Index ¶
- Constants
- type LogLevelWriteCloser
- func ConnectDefaultSyslog(tag string) (LogLevelWriteCloser, error)
- func ConnectRemoteSyslog(network, raddr string, tag string) (LogLevelWriteCloser, error)
- func ConnectSyslogByParam(outputParam, tag string) (LogLevelWriteCloser, error)
- func NewSyslogLevelWriter(w SyslogWriteCloser) LogLevelWriteCloser
- type SyslogWriteCloser
Constants ¶
View Source
const DefaultSyslogNetwork = "udp"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogLevelWriteCloser ¶
type LogLevelWriteCloser interface { insolar.LogLevelWriter }
func ConnectDefaultSyslog ¶
func ConnectDefaultSyslog(tag string) (LogLevelWriteCloser, error)
func ConnectRemoteSyslog ¶
func ConnectRemoteSyslog(network, raddr string, tag string) (LogLevelWriteCloser, error)
func ConnectSyslogByParam ¶
func ConnectSyslogByParam(outputParam, tag string) (LogLevelWriteCloser, error)
func NewSyslogLevelWriter ¶
func NewSyslogLevelWriter(w SyslogWriteCloser) LogLevelWriteCloser
SyslogLevelWriter wraps a SyslogWriter and call the right syslog level method matching the zerolog level.
Click to show internal directories.
Click to hide internal directories.