All Projects → seanmonstar → Pretty Env Logger

seanmonstar / Pretty Env Logger

Licence: other
A pretty, easy-to-use logger for Rust.

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Pretty Env Logger

Logarr
“Logarr” is a self-hosted PHP web app that consolidates, formats, and displays log and text files for easy analysis and monitoring.
Stars: ✭ 216 (-14.29%)
Mutual labels:  logging
Applicationinsights Node.js
Microsoft Application Insights SDK for Node.js
Stars: ✭ 229 (-9.13%)
Mutual labels:  logging
Utern
Multi group and stream log tailing for AWS CloudWatch Logs.
Stars: ✭ 241 (-4.37%)
Mutual labels:  logging
Apilogs
Easy logging and debugging for Amazon API Gateway and AWS Lambda Serverless APIs
Stars: ✭ 216 (-14.29%)
Mutual labels:  logging
Timber Elixir
🌲 Great Elixir logging made easy
Stars: ✭ 226 (-10.32%)
Mutual labels:  logging
Golog
A high-performant Logging Foundation for Go Applications. X3 faster than the rest leveled loggers.
Stars: ✭ 208 (-17.46%)
Mutual labels:  logging
Monolog Bundle
Symfony Monolog Bundle
Stars: ✭ 2,532 (+904.76%)
Mutual labels:  logging
Aardvark
Aardvark is a library that makes it dead simple to create actionable bug reports.
Stars: ✭ 244 (-3.17%)
Mutual labels:  logging
Pysnooper
Never use print for debugging again
Stars: ✭ 14,815 (+5778.97%)
Mutual labels:  logging
Fluent Bit
Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
Stars: ✭ 3,223 (+1178.97%)
Mutual labels:  logging
Nanolog
Nanosecond scale logger inspired by https://github.com/PlatformLab/NanoLog
Stars: ✭ 220 (-12.7%)
Mutual labels:  logging
Mulog
μ/log is a micro-logging library that logs events and data, not words!
Stars: ✭ 222 (-11.9%)
Mutual labels:  logging
Chromelogger Python
Python library for logging variables to Google Chrome console
Stars: ✭ 232 (-7.94%)
Mutual labels:  logging
Apigatewaydemo
🌱 Simple samples that use Ocelot to build API Gateway.
Stars: ✭ 217 (-13.89%)
Mutual labels:  logging
Express Typescript
Express + TypeScript + Boilerplate for Web / API App
Stars: ✭ 230 (-8.73%)
Mutual labels:  logging
Graypy
Python logging handler for Graylog that sends messages in GELF (Graylog Extended Log Format).
Stars: ✭ 211 (-16.27%)
Mutual labels:  logging
Tracker
Laravel Stats Tracker
Stars: ✭ 2,638 (+946.83%)
Mutual labels:  logging
Chipmunk
log analysis tool
Stars: ✭ 247 (-1.98%)
Mutual labels:  logging
Instrumentedsql
A sql driver that will wrap any other driver and log/trace all its calls
Stars: ✭ 244 (-3.17%)
Mutual labels:  logging
Datav
📊https://datav.io is a modern APM, provide observability for your business, application and infrastructure. It's also a lightweight alternative to Grafana.
Stars: ✭ 2,757 (+994.05%)
Mutual labels:  logging

pretty-env-logger

Crates.io Docs MIT/APACHE-2.0 Travis CI

A simple logger built on top of env_logger. It is configured via an environment variable and writes to standard error with nice colored output for log levels.

example output

Usage

Add the dependency to your Cargo.toml:

[dependencies]
log = "0.4"
pretty_env_logger = "0.4"

Add some usage to your application:

extern crate pretty_env_logger;
#[macro_use] extern crate log;

fn main() {
    pretty_env_logger::init();
    info!("such information");
    warn!("o_O");
    error!("much error");
}

Then run your app with the environmental variable set:

RUST_LOG=trace cargo run

License

Licensed under either of

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].