FreedomLogger 1.1.0

A professional, reusable logging library with pattern formatting, log rotation, and file management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Log rotation module for FreedomLogger
///
/// This module handles automatic log file rotation to prevent files from
/// growing too large. Currently supports size-based rotation, with future
/// plans for time-based rotation (daily, weekly, monthly).
///
/// Rotation strategies:
/// - Size-based: Rotate when file exceeds configured size limit
/// - Time-based: Rotate at specific time intervals (TODO: future feature)

// Re-export all rotation types and functions
pub use size_based::{SizeBasedRotation, RotationResult};

// Import rotation implementations  
pub mod size_based;

// TODO: Future rotation strategies
// pub mod time_based;  // Daily, weekly, monthly rotation