nonblocking_logger/
lib.rs

1pub mod enums;
2#[cfg(not(target_arch = "wasm32"))]
3pub mod global;
4#[cfg(target_arch = "wasm32")]
5pub mod global_wasm;
6pub mod macros;
7pub mod structs;
8#[cfg(not(target_arch = "wasm32"))]
9pub mod utils;
10
11pub use enums::log_level::LogLevel;
12
13#[cfg(not(target_arch = "wasm32"))]
14pub use structs::logger::Logger;
15#[cfg(target_arch = "wasm32")]
16pub use structs::logger_wasm::LoggerWasm as Logger;
17
18#[cfg(not(target_arch = "wasm32"))]
19pub use utils::*;
20
21#[cfg(not(target_arch = "wasm32"))]
22pub use global::{
23    debug, debug_lazy, error, error_lazy, get_global_mut, info, info_lazy, log, log_lazy, trace,
24    trace_lazy, warning, warning_lazy,
25};
26
27#[cfg(target_arch = "wasm32")]
28pub use global_wasm::{
29    debug, debug_lazy, error, error_lazy, get_global_mut, info, info_lazy, log, log_lazy, trace,
30    trace_lazy, warning, warning_lazy,
31};