[][src]Function solana_libra_logger::set_simple_logger

pub fn set_simple_logger(debug_module: &str)

Simple logger mostly intended for use in test code It contains bunch of boilerplate hacks to make output of test look not too verbose(but still have some logs)

Simple logger output logs into stdout in simple format:

It sets default log level to INFO for all modules, and debug for specific module, usually module that unit test belongs to

RUST_LOG env variable can be used to overwrite log levels