hyperlane_log/log/struct.rs
1/// Main configuration structure for log file output.
2///
3/// Controls where logs are stored and their maximum size limits.
4/// Use Log::new() to create an instance with custom settings.
5#[derive(Clone)]
6pub struct Log {
7 /// The directory path where log files will be stored.
8 pub(super) path: String,
9 /// The maximum allowed size (in bytes) for individual log files.
10 /// Set to 0 to disable logging.
11 pub(super) limit_file_size: usize,
12}