basic-logger
A basic logger for the log facade.
Usage
1. Add the required dependencies to your Cargo.toml.
[]
= "0.1"
= "0.4"
Note: Coloured output will be enabled by default. You can remove this feature by disabling all features.
[]
= { = "0.1", = false }
2. Initialize the logger (Do this as early as possible in your project).
use BasicLogger;
use info;
You can also set the default log level by calling the with_level method.
use LevelFilter;
...
new.with_level.init.unwrap;
Showcase
License
This project is under the MIT license.