SizeBasedRollover

Control of size and number of log files

Constructors

this
this(Bundle bundle)

Primary constructor

Members

Functions

carry
void carry(string[] filePool)

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;

Max number of working files

maxSize
uint maxSize;

Max size of one file

Inherited Members

From Rollover

bundle
Bundle bundle;

Control of size and number of log files

init
void init()

Rollover start init

parseConfigFilePath
auto parseConfigFilePath(string configFile)

Parse configuration file path and base name and save to members

roll
bool roll(string msg)

Do files rolling by default

Meta