forestry-0.1.0 has been yanked.
Forestry
A CLI logging library.
Table of Contents
Installation
To install forestry, simply add it to your Rust project via Cargo:
Dependencies
Forestry depends on the colored crate for colorized output.
Usage
Forestry is a simple logging library that allows you to log messages to the console with different levels of severity. Here's an example of how to use it:
use *;
let l = new;
l.i;
l.w;
l.e;
l.s;
This will output the following to the console:
[*] This is an info message.
[~] This is a warning message.
[!] This is an error message.
[✔] This is a success message.
It will also be coloured in most terminals.
Contributing
If you would like to contribute to forestry, please open an issue or submit a pull request.
License
This code is dual-licensed under either the MIT or Apache 2.0 license, at your option. Please see the LICENSE file for more information.