Module base

Source
Expand description

Implements a rolling condition based on a certain frequency and/or a size limit. The default condition is to rotate daily.

§Examples

use tracing_rolling_file::*;
let c = RollingConditionBase::new().daily();
let c = RollingConditionBase::new().hourly().max_size(1024 * 1024);

Structs§

RollingConditionBase

Type Aliases§

RollingFileAppenderBase
A rolling file appender with a rolling condition based on date/time or size.