SizeBasedRollover

Control of size and number of log files

Constructors

this
this(Bundle bundle)
Undocumented in source.

Members

Functions

carry
void carry()

Rename log files

extractNum
uint extractNum(string file)

Extract number from file name

extractSize
uint extractSize(string size)

Extract number fron configuration data

roll
bool roll(string msg)

Do files rolling by size

scanDir
string[] scanDir()

* Scan work directory * save needed files to pool

Manifest constants

GB
enum GB;
Undocumented in source.
KB
enum KB;
Undocumented in source.
MB
enum MB;
Undocumented in source.
PB
enum PB;
Undocumented in source.
TB
enum TB;
Undocumented in source.

Variables

maxHistory
uint maxHistory;
Undocumented in source.
maxSize
uint maxSize;
Undocumented in source.

Inherited Members

From Rollover

bundle
Bundle bundle;
Undocumented in source.
init
void init()

Rollover start init

parseConfigFilePath
auto parseConfigFilePath(string rawConfigFile)

Parse configuration file path and base name and save to members

roll
bool roll(string msg)

Do files rolling by default

carry
void carry()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta