Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #[macro_use]
- extern crate log;
- fn main() {
- info!(target: "yak_events", "Commencing yak shaving ");
- log!(log::WARN, "this is a warning {}", "message");
- log!(log::DEBUG, "this is a debug message");
- log!(6, "this is a custom logging level: {level}", level=6);
- }
Add Comment
Please, Sign In to add comment