rusty-man/tests/snapshots/output__1.45.2_constant_log_static_max_level.snap
Robin Krahl 628377c83b
Refactor test suite to check multiple versions
This patch refactors the test suite:
- Instead of always generating the documentation with the available
  rustdoc version, we now store generated documentation for all
  supported rustdoc versions in the test/html directory.
- Instead of using one snapshot per test case, we now use one snapshot
  per test case and rustdoc version.
2020-09-11 20:30:05 +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.