rusty-man/tests/snapshots/output__1.48.0_constant_log_static_max_level.snap
Robin Krahl 4ed21183df
Add tests for Rust 1.48.0
With Rust 1.48.0, support for link shorthands, i. e. `[Test]` instead of
`[Test][]`, was added.  Therefore, some of the links are now rendered
correctly.  Otherwise we can just copy the snapshots and don’t need any
code changes.
2021-06-05 21:02:58 +02:00

20 lines
596 B
Plaintext

---
source: tests/output.rs
expression: "get_stdout(&[item])"
---
log Constant log::STATIC_MAX_LEVEL rusty-man
SYNOPSIS
pub const STATIC_MAX_LEVEL: LevelFilter;
DESCRIPTION
The statically resolved maximum log level.
See the crate level documentation for information on how to configure this.
This value is checked by the log macros, but not by the `Log`ger returned by the `logger`
function. Code that manually calls functions on that value should compare the level against
this value.