vibe.d beta banner
get vibe.d
0.7.31

Class SyslogLogger

A logger that logs in syslog format according to RFC 5424.

class SyslogLogger
  : Logger;

Messages can be logged to files (via file streams) or over the network (via TCP or SSL streams).

Constructors

Constructors

NameDescription
thisConstruct a SyslogLogger.

Fields

Fields

NameTypeDescription
minLevelLogLevel
multilineLoggerboolWhether the logger can handle multiple lines in a single beginLine/endLine.

Methods

Methods

NameDescription
beginLineLogs the given LogLine msg.
endLine
put
acceptsLevel
beginLineStarts a new log line.
endLineFinalizes a log line.
logLegacy logging interface relying on dynamic memory allocation.
putWrites part of a log line message.

Enums

Enums

NameDescription
FacilityFacilities

Standards

Conforms to RFC 5424.

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.