Crates.io | dumb_logger |
lib.rs | dumb_logger |
version | 0.1.0 |
source | src |
created_at | 2019-12-07 20:24:21.840963 |
updated_at | 2019-12-07 20:24:21.840963 |
description | Log to stdout, nothing more |
homepage | |
repository | https://github.com/ericseppanen/dumb_logger |
max_upload_size | |
id | 187151 |
size | 5,206 |
dumb_logger is a minimal logging module.
It allows you to use the log
macros error!
, warn!
,
info!
, debug!
and trace!
to print to stdout
.
It has no dependencies other than log
. It doesn't print timestamps or
sequence numbers or print in color. It just prints the message that was
logged.
How to use it:
use log::trace;
dumb_logger::init();
trace!("hello world");