vibe.d beta banner
get vibe.d
0.7.30

Function SyslogLogger.this

Construct a SyslogLogger.

The log messages are sent to the given OutputStream stream using the given Facility facility.Optionally the appName and hostName can be set. The appName defaults to null. The hostName defaults to hostName().

Note that the passed stream's write function must not use logging with a level for that this Logger's acceptsLevel returns true. Because this Logger uses the stream's write function when it logs and would hence log forevermore.

Prototype

this(
  OutputStream stream,
  SyslogLogger.Facility facility,
  string appName = null,
  string hostName = hostName()
);
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.