tango.util.log.AppendSyslog

License:

BSD style: see license.txt

Version:

Initial release: May 2004

Author:

Kris & Marenz
class AppendSyslog : Filer [public] #
Append log messages to a file set
this(char[] path, uint count, long max_size, char[] compress_cmd = null, char[] compress_suffix = null, size_t compress_begin = 2, Appender.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:

pathpath to the first logfile
countmaximum number of logfiles
max_sizemaximum size of a logfile in bytes
compress_cmdcommand to use to compress logfiles
compress_suffixsuffix for compressed logfiles
compress_beginindex after which logfiles should be compressed
howwhich layout to use
Mask mask() [final] #
Return the fingerprint for this class
char[] name() [final] #
Return the name of this class
void append(LogEvent event) [synchronized, final] #
Append an event to the output
void nextFile() [private] #
Switch to the next file within the set