tango.util.log.AppendSyslog

License:
BSD style:

Version:
Initial release: May 2004

author:
Kris & Marenz

class AppendSyslog: tango.util.log.AppendFile.Filer;
Append log messages to a file set

this(char[] path, uint count, long max_size, char[] compress_cmd = null, char[] compress_suffix = null, ulong compress_begin = cast(ulong)2, Layout how = null);
Create an AppendSyslog upon a file-set with the specified path and optional layout. The minimal file count is two and the maximum is 1000 (explicitly 999). The minimal compress_begin index is 2.

Params:
char[] path path to the first logfile
uint count maximum number of logfiles
long max_size maximum size of a logfile in bytes
char[] compress_cmd command to use to compress logfiles
char[] compress_suffix suffix for compressed logfiles
ulong compress_begin index after which logfiles should be compressed
Layout how which layout to use

final const @property Mask mask();
Return the fingerprint for this class

final const @property const(char)[] name();
Return the name of this class

final void append(LogEvent event);
Append an event to the output


Page generated by Ddoc. Copyright (c) 2004 Kris Bell. All rights reserved