| Crates.io | outlog |
| lib.rs | outlog |
| version | 0.1.0 |
| created_at | 2020-05-30 11:56:11.201511+00 |
| updated_at | 2020-05-30 11:56:11.201511+00 |
| description | A simple logging system based on the log crate. |
| homepage | |
| repository | https://gitdab.com/LunarLambda/outlog |
| max_upload_size | |
| id | 247666 |
| size | 28,865 |
Outlog is a logging implementation based on the log crate.
It is designed to be as simple as possible, while still providing good looking log output.
#[macro_use]
extern crate outlog;
outlog::init_with_default().expect("Failed to initialize logging!");
info!("Hello, World");
The following features can be enabled when including outlog as a dependency:
color: Enables colored output using SGR Sequences and the atty crate.chrono: Enables outputting the local time using the chrono crate.panic: Enables a custom panic hook that prints panic messages with error! (Backtraces aren't supported).config-serde: Enables serializing/deserializing the Config struct with serde.all: Enables all of the above.