Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/remexre/pretty_logger

A pretty logger similar to `pretty_env_logger`, but configured from the `init` function instead of from an environment variable.
https://github.com/remexre/pretty_logger

logging rust

Last synced: about 8 hours ago
JSON representation

A pretty logger similar to `pretty_env_logger`, but configured from the `init` function instead of from an environment variable.

Awesome Lists containing this project

README

        

# pretty_logger

[![Build Status](https://travis-ci.org/remexre/pretty_logger.svg?branch=master)](https://travis-ci.org/remexre/pretty_logger)
[![Crates.io](https://img.shields.io/crates/v/pretty_logger.svg)](https://crates.io/crates/pretty_logger)
[![Documentation](https://docs.rs/pretty_logger/badge.svg)](https://docs.rs/pretty_logger/*/pretty_logger/)
![License](https://img.shields.io/crates/l/pretty_logger.svg)

A pretty logger.

A logger similar to `pretty_env_logger`, but configured from the `init` function instead of from an environment variable.

It also supports falling back to a non-colored logger.

## License

Licensed under either of

* Apache License, Version 2.0, (http://www.apache.org/licenses/LICENSE-2.0)
* MIT license (http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.