|
|
|
@ -325,16 +325,18 @@ pub fn watch(path: impl AsRef<Path>) -> Oneesan
|
|
|
|
|
}),
|
|
|
|
|
handle,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
output
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Some predefined filter functions
|
|
|
|
|
pub mod filter
|
|
|
|
|
{
|
|
|
|
|
use super::*;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#[inline(always)]
|
|
|
|
|
const fn all(_: &Event) -> bool {true}
|
|
|
|
|
|
|
|
|
|
/// Empty filter, accept all
|
|
|
|
|
pub const ALL: Option<fn (&Event) -> bool> = None;
|
|
|
|
|
}
|
|
|
|
|