Skip to content

Commit

Permalink
Merge pull request #59 from DesmondWillowbrook/patch-1
Browse files Browse the repository at this point in the history
doc: call env after with_level
  • Loading branch information
borntyping committed Aug 21, 2022
2 parents a32e432 + e026b46 commit fab6904
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Expand Up @@ -146,7 +146,8 @@ impl SimpleLogger {
/// Simulates env_logger behavior, which enables the user to choose log
/// level by setting a `RUST_LOG` environment variable. This will use
/// the default level set by [`with_level`] if `RUST_LOG` is not set or
/// can't be parsed as a standard log level.
/// can't be parsed as a standard log level.
/// (if calling `with_level`, call this after that, otherwise it will have no effect)
///
/// [`with_level`]: #method.with_level
#[must_use = "You must call init() to begin logging"]
Expand Down

0 comments on commit fab6904

Please sign in to comment.