seanmonstar / Pretty Env Logger
Licence: other
A pretty, easy-to-use logger for Rust.
Stars: ✭ 252
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
Golog
A high-performant Logging Foundation for Go Applications. X3 faster than the rest leveled loggers.
Stars: ✭ 208 (-17.46%)
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
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
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
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.
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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].