tango.util.log.AppendSocket

License:

BSD style: see license.txt

Version:

Initial release: May 2004

Author:

Kris
class AppendSocket : Appender [public]
Appender for sending formatted output to a Socket.
this(InternetAddress address, Appender.Layout how = null, const(char)[] eol = null)
Create with the given Layout and address. Specify an end- of-line string if you want that appended to each message
Mask mask() [@property, override, const]
Return the fingerprint for this class
const(char)[] name() [@property, override, const]
Return the name of this class
void append(LogEvent event) [override]
Append an event to the output. If the operations fails we have to revert to an alternative logging strategy, which will probably require a backup Appender specified during construction. For now we simply echo to Cerr if the socket has become unavailable.
void close() [override]
Close the socket associated with this Appender