log VS slog

Compare log vs slog and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
log slog
28 2
2,049 1,530
2.7% 1.5%
8.6 6.9
21 days ago about 1 month ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

log

Posts with mentions or reviews of log. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-22.

slog

Posts with mentions or reviews of slog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-02.
  • I'm releasing cargo-sandbox
    9 projects | /r/rust | 2 Jan 2023
    I only recently learned about rustwide myself when implementing sandboxed rustdoc builds for Shipyard.rs. After spending a good amount of time with the codebase, I have found it to be generally high quality, but the way the code is organized makes it fairly difficult to adapt for different purposes than it was intended for (not modular). I have a fork that I have changed to do what I need but not sure whether the two codebases can be reconciled because I ended up needing to put stuff very specific to my purposes in there. I also ran into a weird issue where the logging from rustwide was conflicting with the slog-based logging from my code, which feels to me like there is some UB lurking somewhere.
  • Adding Slog Logger to Actix Web
    3 projects | dev.to | 2 Jun 2022
    Slog Core Crate : core package to the gateway of logging modules.

What are some alternatives?

When comparing log and slog you can also consider the following projects:

tracing - Application level tracing for Rust.

log4rs - A highly configurable logging framework for Rust

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

angle-grinder - Slice and dice logs on the command line

env_logger - A logging implementation for `log` which is configured via an environment variable.

actix-slog-logger-setup - Adding Slog Logger to Actix Web easily.

async-anyhow-logger - An easy crate for catching anyhow errors from an asynchronous function, and passing them to your logger

crosvm - The Chrome OS Virtual Machine Monitor - Mirror of https://chromium.googlesource.com/crosvm/crosvm/

InputBot - Rust library for creating global hotkeys, and simulating inputs

async - Asynchronous drain for slog-rs v2