Method Configure
Configure(long, TimeSpan, RotatingLogPolicyCompressor?)
Defines the time interval and size threshold for starting the task, and then starts the task.
public void Configure(long maximumSize, TimeSpan due, RotatingLogPolicyCompressor? compressor = null)
Parameters
maximumSizelongThe non-negative size threshold of the log file size in byte count.
dueTimeSpanThe time interval between checks.
compressorRotatingLogPolicyCompressorThe optional compressor to use for log file compression. If null, the default compressor (GZip) will be used.
Remarks
The first run is performed immediately after calling this method.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語