pub fn o_rotate(
        mut self,
        rotate_config: Option<(Criterion, Naming, Cleanup)>,
    ) -> FileLogWriterBuilder {
        match rotate_config {
            Some((criterion, naming, cleanup)) => {
                self.o_rotation_config = Some(RotationConfig {
                    criterion,
                    naming,
                    cleanup,
                });
                self.config.filename_config.use_timestamp = false;
            }
            None => {
                self.o_rotation_config = None;
                self.config.filename_config.use_timestamp = true;
            }
        }
        self
    }
/// By default, and with None, the log file will grow indefinitely.
/// If a rotate_config is set, when the log file reaches or exceeds the specified size,
/// the file will be closed and a new file will be opened.
/// Also the filename pattern changes: instead of the timestamp, a serial number
/// is included into the filename.
///
/// The size is given in bytes, e.g. `o_rotate_over_size(Some(1_000))` will rotate
/// files once they reach a size of 1 kB.
///
/// The cleanup strategy allows delimiting the used space on disk.
By default, and with None, the log file will grow indefinitely.
If a rotate_config is set, when the log file reaches or exceeds the specified size,
the file will be closed and a new file will be opened.
Also the filename pattern changes: instead of the timestamp, a serial number
is included into the filename.

The size is given in bytes, e.g. `o_rotate_over_size(Some(1_000))` will rotate
files once they reach a size of 1 kB.

The cleanup strategy allows delimiting the used space on disk.
By default and with None the log file will grow indefinitely . If a rotate_config is set when the log file reaches or exceeds the specified size the file will be closed and a new file will be opened . Also the filename pattern changes : instead of the timestamp a serial number is included into the filename . The size is given in bytes e . g . ` o_rotate_over_size ( Some ( 1_000 )) ` will rotate files once they reach a size of 1 kB . The cleanup strategy allows delimiting the used space on disk .
pub fn o_rotate(
        mut self,
        rotate_config: Option<(Criterion, Naming, Cleanup)>,
    ) -> FileLogWriterBuilder {
        match rotate_config {
            Some((criterion, naming, cleanup)) => {
                self.o_rotation_config = Some(RotationConfig {
                    criterion,
                    naming,
                    cleanup,
                });
                self.config.filename_config.use_timestamp = false;
            }
            None => {
                self.o_rotation_config = None;
                self.config.filename_config.use_timestamp = true;
            }
        }
        self
    }
pub fn o_rotate ( mut self , rotate_config : Option < ( Criterion , Naming , Cleanup ) > , ) -> FileLogWriterBuilder { match rotate_config { Some ( ( criterion , naming , cleanup ) ) => { self . o_rotation_config = Some ( RotationConfig { criterion , naming , cleanup , } ) ; self . config . filename_config . use_timestamp = false ; } None => { self . o_rotation_config = None ; self . config . filename_config . use_timestamp = true ; } } self }
By default, and with None, the log file will grow indefinitely.
By default and with None the log file will grow indefinitely .
mut self
rotate_config
Option<(Criterion, Naming, Cleanup)>
mut self
rotate_config
Option<(Criterion, Naming, Cleanup)>