macro_rules! message {
(vlogger: $vlogger:expr, target: $target:expr, $surface:expr, $($arg:tt)+) => { ... };
(vlogger: $vlogger:expr, $surface:expr, $($arg:tt)+) => { ... };
(target: $target:expr, $surface:expr, $($arg:tt)+) => { ... };
($surface:expr, $($arg:tt)+) => { ... };
}Expand description
Logs a message to the vlogger.
ยงExamples
use v_log::message;
let pos = Position { x: 3.234, y: -1.223 };
message!("main_surface", color: Healthy, "Correct position");
message!("main_surface", "Position is: x: {}, y: {}", pos.x, pos.y);