Sha256: bd3efa727d6b3016718df7c6588cee0b867c49c52380e02f99947d268e36dbe0
Contents?: true
Size: 348 Bytes
Versions: 37
Compression:
Stored size: 348 Bytes
Contents
#[cfg(feature = "logging")] macro_rules! log { ( $fmt:expr ) => { println!($fmt); }; ( $fmt:expr, $($x:tt)* ) => { println!($fmt, $($x)*); } } #[cfg(not(feature = "logging"))] macro_rules! log { ( $fmt:expr ) => {}; ( $fmt:expr, $($x:tt)* ) => { if false { let _ = format!($fmt, $($x)*); } }; }
Version data entries
37 entries across 37 versions & 1 rubygems