tango.util.log.AppendFiles

License:
BSD style:

Version:
Initial release: May 2004

author:
Kris

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

this(const(char)[] path, int count, long maxSize, 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

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

const 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