Skip to content

Commit

Permalink
Fix for issues #476
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Aug 28, 2024
1 parent 2dd437a commit 39f2a57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ unsafe impl Send for EspLogger {}
unsafe impl Sync for EspLogger {}

impl EspLogger {
const fn new() -> Self {
/// Public in case user code would like to compose this logger in their own one
pub const fn new() -> Self {
Self {
cache: Mutex::new(BTreeMap::new()),
}
Expand Down

0 comments on commit 39f2a57

Please sign in to comment.