[go: up one dir, main page]

Function colog::init

source ·
pub fn init()
Examples found in repository?
examples/simple.rs (line 7)
5
6
7
8
9
10
11
12
13
14
15
16
17
fn main()
{
    colog::init();
    error!("error message");
    error!("error with fmt: {}", 42);
    warn!("warn message");
    info!("info message");
    debug!("debug message");
    trace!("trace message");

    info!("multi line demonstration\nhere");
    info!("more\nmulti\nline\nhere\nhere");
}