vibe.d beta banner
get vibe.d
0.10.1

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 SyslogFacility
m_hostName string
m_ostream OutputStream

Methods

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

Inner structs

NameDescription
StreamOutputRange

Enums

NameDescription
Severity Severities

Aliases

NameDescription
Facility

Standards

Conforms to RFC 5424.

Authors

Sönke Ludwig

Copyright

© 2012-2014 Sönke Ludwig

License

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