Skip to content

Commit

Permalink
Set GlobalLoggerGuard's canceled property public
Browse files Browse the repository at this point in the history
Set the property public so that those who set Logger global can figure out whether the logger is set already
  • Loading branch information
hskang9 committed Oct 23, 2019
1 parent 632c9c5 commit c2c4978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl slog::Drain for NoGlobalLoggerSet {
/// This will `drop` any existing global logger.
#[must_use]
pub struct GlobalLoggerGuard {
canceled : bool,
pub canceled : bool,
}

impl GlobalLoggerGuard {
Expand Down

0 comments on commit c2c4978

Please sign in to comment.