loglog

Crates.iologlog
lib.rsloglog
version0.3.2
sourcesrc
created_at2017-08-15 15:19:12.709939
updated_at2017-08-20 00:35:13.822143
descriptionA simple and usable logger
homepagehttps://github.com/anthonynguyen/loglog
repositoryhttps://github.com/anthonynguyen/loglog
max_upload_size
id27618
size11,779
Anthony Nguyen (anthonynguyen)

documentation

https://docs.rs/loglog/

README

loglog

loglog on Travis CI loglog on crates.io loglog on docs.rs

A simple and usable logger.

Usage

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.

License

loglog is licensed under the MIT license. Please see the LICENSE file for more details.

Commit count: 27

cargo fmt