Crate rog

Source
Expand description

A Rust logger. Provides macro debugln!() and println!().

§Example

rog::reg("main");
rog::debugln!("debug");
rog::println!("print");

Macros§

debugln
Debugs to the standard output, with a newline.
println
Prints to the standard output, with a newline.

Functions§

cfg
Returns a hashset indicating which modules have been registered.
reg
Register a series of module names, the logs in this module will be printed.