Crates.io | loglog |
lib.rs | loglog |
version | 0.3.2 |
source | src |
created_at | 2017-08-15 15:19:12.709939 |
updated_at | 2017-08-20 00:35:13.822143 |
description | A simple and usable logger |
homepage | https://github.com/anthonynguyen/loglog |
repository | https://github.com/anthonynguyen/loglog |
max_upload_size | |
id | 27618 |
size | 11,779 |
loglog
A simple and usable logger.
Create the builder:
loglog::build()
Configure the options:
loglog::build()
.time(Some("%H:%M"))
.stdout(true)
Finally, set up and use the logger:
loglog::build()
.time(Some("%H:%M"))
.stdout(true)
.init()
.unwrap();
info!("Hello!");
For more information, please see the documentation.
loglog is licensed under the MIT license. Please see the LICENSE
file for more
details.