Skip to content

A logger that prints all messages with a readable output format.

License

Notifications You must be signed in to change notification settings

mark0725/rust-lite-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lite-log

A logger that prints all messages with a readable output format.

Latest version All downloads Downloads of latest version MIT License Github Tags Github Issues

Forked from rust-simple_logger, and changed lib time to chrono.

The output format is based on the format used by Supervisord, with timestamps default RFC 3339 format. The format used for timestamps can be customised.

Usage

use lite_log::LiteLogger;

fn main() {
    LiteLogger::new().init().unwrap();

    log::warn!("This is an example message.");
}

run example

cargo run --example init

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in lite-log by you, shall be licensed as MIT, without any additional terms or conditions.

About

A logger that prints all messages with a readable output format.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages