You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rusty-man/tests/snapshots/output__1.50.0_html_macro_l...

25 lines
629 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);