vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

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

NameDescription
this (stream, facility, appName, hostName) Construct a SyslogLogger.

Fields

NameTypeDescription
m_appName string
m_facility SyslogLogger.Facility
m_hostName string
m_ostream OutputStream

Methods

NameDescription
beginLine (msg) Logs the given LogLine msg.
endLine ()
put (text)

Enums

NameDescription
Facility Facilities
Severity Severities

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.