hyperlane_log/log/
type.rs

1use crate::*;
2
3pub type ListLog = Vec<(String, ArcLogFunc)>;
4pub type LogListArcLock = Arc<RwLock<ListLog>>;
5pub type LogArcLock = Arc<RwLock<Log>>;
6pub type LogFunc = dyn LogFuncTrait;
7pub type ArcLogFunc = Arc<LogFunc>;
8pub type ArcLog = Arc<Log>;
9
10#[derive(Clone, Lombok)]
11pub struct Log {
12    pub(super) path: String,
13    pub(super) limit_file_size: usize,
14}