Crate forestry

Crate forestry 

Source
Expand description

A simple, efficient, concise, and elegant logging library for Rust.

Provides a Logger struct that can be used to log messages to the console. The messages are coloured based on their severity level. Logs are output with a unique 16-bit log index. The log also contains a symbol to represent the severity level.

Most of the time, you will only need to initialize a Logger struct. After this,you can use the

Asynchronous versions of the above methods are also available by enabling the async feature.

All configuration can be done using the cfg() method in conjunction with the Options enumerator. Valid options include adding a timer, logging to a file, and more. See the logs module for more details.

Modulesยง

logs
prelude