1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mod native;

#[cfg(target_os = "android")]
mod android;

#[cfg(target_os = "android")]
pub use android::*;

#[cfg(target_os = "ios")]
mod ios;

#[cfg(target_os = "ios")]
pub use ios::*;

#[cfg(not(any(target_os = "android", target_os = "ios")))]
mod desktop;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub use desktop::*;

pub use native::{rotate_log_file, sanitize, would_log, write_log};