rusty-man/tests/snapshots/output__1.54.0_html_macro_log_debug.snap
Robin Krahl 6dc75f0c5d
Add support for Rust 1.54.0, 1.55.0, 1.56.0
This patch adds tests for Rust 1.54.0, 1.55.0 and 1.56.0.  To make the
tests pass, we have to take care of some changes like more details
elements and changed heading levels.  To make it easier to generate the
tests for new Rust versions, we also add two bash scripts that take care
of that.
2021-10-26 23:29:54 +02:00

26 lines
630 B
Plaintext

---
source: tests/output.rs
expression: "get_stdout(path, &[\"log::debug\"])"
---
log Macro log::debug rusty-man
SYNOPSIS
macro_rules! debug {
(target: $target:expr, $($arg:tt)+) => { ... };
($($arg:tt)+) => { ... };
}
DESCRIPTION
Logs a message at the debug level.
# Examples
use log::debug;
let pos = Position { x: 3.234, y: -1.223 };
debug!("New position: x: {}, y: {}", pos.x, pos.y);
debug!(target: "app_events", "New position: x: {}, y: {}", pos.x, pos.y);