diff --git a/src/macros.rs b/src/macros.rs index 61f92de410ed10e4dbb8b993b023a83732777a6f..2d27e951b6bcd4f6cace5a6df3824f08d3aa3957 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -7,22 +7,4 @@ macro_rules! enabled_debug_print { (true, $name:literal, $format:literal, $($args:expr),*) => { println!("[{}] {}", $name, format!($format, $($args),*)) }; -} - -/* -Change the definition of these macros to control the logging level statically -*/ - -macro_rules! log { - (@ENDPT, $logger:expr, $($arg:tt)*) => {{ - // if let Some(w) = $logger.line_writer() { - // let _ = writeln!(w, $($arg)*); - // } - }}; - ($logger:expr, $($arg:tt)*) => {{ - #[cfg(not(feature = "no_logging"))] - if let Some(w) = $logger.line_writer() { - let _ = writeln!(w, $($arg)*); - } - }}; -} +} \ No newline at end of file