// Copyright (c) TribuFu. All Rights Reserved. #![allow(non_snake_case)] pub const FILTER_ENV: &str = "ALNILAM_LOG"; pub use log::debug; pub use log::error; pub use log::info; pub use log::trace; pub use log::warn; #[doc(inline)] pub use log::Level; #[cfg(not(target_arch = "wasm32"))] pub use env_logger::fmt::Color; pub mod Ansi256; #[cfg(not(target_arch = "wasm32"))] #[path = "Logger.rs"] mod _Logger; #[cfg(not(target_arch = "wasm32"))] pub use self::_Logger::*; #[path = "LoggerOptions.rs"] mod _LoggerOptions; pub use self::_LoggerOptions::*; #[cfg(target_arch = "wasm32")] #[path = "WebLogger.rs"] mod _WebLogger; #[cfg(target_arch = "wasm32")] pub use self::_WebLogger::*; pub fn init() { let logger = Logger::New(); logger.Init(); }