All Projects → slog-rs → Slog

slog-rs / Slog

Licence: other
Structured, contextual, extensible, composable logging for Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Slog

Izumi
Productivity-oriented collection of lightweight fancy stuff for Scala toolchain
Stars: ✭ 423 (-60.39%)
Mutual labels:  logging, logging-library, structured-logging
Nlog
NLog - Advanced and Structured Logging for Various .NET Platforms
Stars: ✭ 5,296 (+395.88%)
Mutual labels:  logging, logging-library, structured-logging
Timber Elixir
🌲 Great Elixir logging made easy
Stars: ✭ 226 (-78.84%)
Mutual labels:  logging, logging-library, structured-logging
Logstash Logger
Ruby logger that writes logstash events
Stars: ✭ 442 (-58.61%)
Mutual labels:  logging, logging-library
Xcglogger
A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.
Stars: ✭ 3,710 (+247.38%)
Mutual labels:  logging, logging-library
Quill
Asynchronous Low Latency C++ Logging Library
Stars: ✭ 422 (-60.49%)
Mutual labels:  logging, logging-library
Log
Structured Logging Made Easy
Stars: ✭ 350 (-67.23%)
Mutual labels:  logging, structured-logging
Fern
Simple, efficient logging for Rust
Stars: ✭ 524 (-50.94%)
Mutual labels:  logging, logging-library
Zerolog
Zero Allocation JSON Logger
Stars: ✭ 5,642 (+428.28%)
Mutual labels:  logging, structured-logging
Screenlog.js
Bring console.log on the screen
Stars: ✭ 591 (-44.66%)
Mutual labels:  logging, logging-library
Yii2 Slack Log
Pretty Slack log target for Yii 2
Stars: ✭ 24 (-97.75%)
Mutual labels:  logging, logging-library
Cocoadebug
iOS Debugging Tool 🚀
Stars: ✭ 3,769 (+252.9%)
Mutual labels:  logging, logging-library
Exceptionless.net
Exceptionless clients for the .NET platform
Stars: ✭ 362 (-66.1%)
Mutual labels:  logging, logging-library
Yii2 Telegram Log
Telegram log target for Yii 2
Stars: ✭ 24 (-97.75%)
Mutual labels:  logging, logging-library
Log4cplus
log4cplus is a simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modelled after the Java log4j API.
Stars: ✭ 1,054 (-1.31%)
Mutual labels:  logging, logging-library
Reckless
Reckless logging. Low-latency, high-throughput, asynchronous logging library for C++.
Stars: ✭ 358 (-66.48%)
Mutual labels:  logging, logging-library
Eliot
Eliot: the logging system that tells you *why* it happened
Stars: ✭ 874 (-18.16%)
Mutual labels:  logging, logging-library
Tslog
📝 tslog - Expressive TypeScript Logger for Node.js.
Stars: ✭ 321 (-69.94%)
Mutual labels:  logging, logging-library
Electron Timber
Pretty logger for Electron apps
Stars: ✭ 337 (-68.45%)
Mutual labels:  logging, logging-library
Mex Vocabulary
MEX Vocabulary: a lightweight machine learning interchange format
Stars: ✭ 19 (-98.22%)
Mutual labels:  logging, logging-library

slog-rs logo
Travis CI Build Status slog-rs on crates.io slog-rs Gitter Chat docs-rs: release versions documentation
Getting started Introduction FAQ
Crate list

slog-rs - The Logging for Rust

Introduction (please read)

slog is an ecosystem of reusable components for structured, extensible, composable and contextual logging for Rust.

The ambition is to be The Logging Library for Rust. slog should accommodate a variety of logging features and requirements. If there is a feature that you need and standard log crate is missing, slog should have it.

This power comes with a little steeper learning curve, so if you experience any problems, please join slog-rs gitter channel to get up to speed. If you'd like to take a quick, convenient route, consider using sloggers wrapper library.

While the code is reliable, the documentation sometimes could use an improvement. Please report all issues and ideas.

Features & technical documentation

Most of the interesting documentation is auto-generated and hosted on https://docs.rs.

Go to docs.rs/slog to read about features and APIs (examples included).

Note: slog is just a core, and the actual functionality is inside many feature crates. To name a few:

There are many more slog feature crates. Search for more slog features on crates.io. It is easy to write and publish new ones. Look through all the existing crates using slog for examples and ideas.

Terminal output example

slog-term is only one of many slog features - useful showcase, multi-platform, and featuring eg. automatic TTY detection and colors.

See following screenshot: same output in both compact and full output mode.

slog-rs terminal example output

Using & help

Please use slog-rs gitter channel to ask for help or discuss slog features.

See examples/features.rs for full quick code example overview.

Read Documentation for details and features.

To report a bug or ask for features use github issues.

Slog community

Slog related crates are hosted under slog github organization.

Dawid Ciężarkiewicz is the original author and current maintainer of slog and therefore self-appointed benevolent dictator over the project. When working on slog Dawid follows and expects everyone to follow his Code of Conduct.

Any particular repositories under slog ecosystem might be created, controlled, maintained by other entities with various levels of autonomy. Lets work together toward a common goal in a respectful and welcoming atmosphere!

Verification Recommendation

To help with the maintaince, the ownership of this crate is potentially shared between multiple developers. It is recommended to always use cargo-crev to verify the trustworthiness of each of your dependencies, including this one.

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].