diff options
| author | diogo464 <[email protected]> | 2025-12-09 22:58:31 +0000 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-12-09 22:58:31 +0000 |
| commit | 4687daaf620e0d0951e4657d052eaa713d18fa71 (patch) | |
| tree | 969d8f67a9af7e0b5b7488478cb329a1185923c2 /src/log.rs | |
| parent | 9aed552c491aaabc84e3141bc70e4d26c03efa85 (diff) | |
small visibility fixesv0.1.0
Diffstat (limited to 'src/log.rs')
| -rw-r--r-- | src/log.rs | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -24,6 +24,7 @@ | |||
| 24 | pub use defmt::Format; | 24 | pub 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"))] |
| 28 | pub trait Format {} | 29 | pub 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)] | ||
| 116 | pub use crate::{debug, error, info, trace, warn}; | 118 | pub use crate::{debug, error, info, trace, warn}; |
