tango.util.log.AppendFiles

License:

BSD style: see license.txt

Version:

Initial release: May 2004

Author:

Kris
class AppendFiles : Filer [public]
Append log messages to a file set
this(const(char)[] path, int count, long maxSize, Appender.Layout how = null)
Create an AppendFiles upon a file-set with the specified path and optional layout. The minimal file count is two and the maximum is 1000 (explicitly 999). Note that files are numbered starting with zero rather than one.
A path of "my.log" will be expanded to "my.0.log".

maxSize is the advisory maximum size of a single log-file, in bytes.

Where a file set already exists, we resume appending to the one with the most recent activity timestamp
Mask mask() [@property, override, final, const]
Return the fingerprint for this class
const(char)[] name() [@property, override, final, const]
Return the name of this class
void append(LogEvent event) [override, final]
Append an event to the output