Class SyslogLogger
A logger that logs in syslog format according to RFC 5424.
class SyslogLogger(OutputStream)
;
Messages can be logged to files (via file streams) or over the network (via TCP or SSL streams).
Constructors
Name | Description |
---|---|
this
(stream, facility, appName, hostName)
|
Construct a SyslogLogger. |
Fields
Name | Type | Description |
---|---|---|
m_appName
|
string | |
m_facility
|
SyslogFacility | |
m_hostName
|
string | |
m_ostream
|
OutputStream |
Methods
Name | Description |
---|---|
beginLine
(msg)
|
Logs the given LogLine msg. |
endLine
()
|
|
put
(text)
|
Inner structs
Name | Description |
---|---|
StreamOutputRange
|
Enums
Name | Description |
---|---|
Severity
|
Severities |
Aliases
Name | Description |
---|---|
Facility
|
Standards
Conforms to RFC 5424.