Skip to main content

customln

Macro customln 

Source
macro_rules! customln {
    ($head:expr, $($arg:tt)*) => { ... };
}
Expand description

Prints log message to stderr with a custom head with new line.

ยงExamples

use hand::*;
use colored::*;

customln!("#".bright_yellow().bold(), "Task completed"); // # Task completed
customln!("@", "The dog is seeking for you ... {}", "too long"); // @ The dog is seeking for you ... too long