aboutsummaryrefslogtreecommitdiff
path: root/src/log.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.rs')
-rw-r--r--src/log.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/log.rs b/src/log.rs
index 5b67001..b86f522 100644
--- a/src/log.rs
+++ b/src/log.rs
@@ -24,6 +24,7 @@
24pub use defmt::Format; 24pub use defmt::Format;
25 25
26// For tracing or no logging, we provide a stub Format trait 26// For tracing or no logging, we provide a stub Format trait
27#[allow(unused)]
27#[cfg(not(feature = "defmt"))] 28#[cfg(not(feature = "defmt"))]
28pub trait Format {} 29pub trait Format {}
29 30
@@ -113,4 +114,5 @@ macro_rules! error {
113} 114}
114 115
115// Re-export the macros at the module level for easier use 116// Re-export the macros at the module level for easier use
117#[allow(unused)]
116pub use crate::{debug, error, info, trace, warn}; 118pub use crate::{debug, error, info, trace, warn};