tint VS slogmw

Compare tint vs slogmw and see what are their differences.

tint

🌈 slog.Handler that writes tinted (colorized) logs (by lmittmann)

slogmw

Middleware for the go standard library log/slog package (by zknill)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
tint slogmw
5 3
600 8
- -
5.9 5.3
about 1 month ago 9 months ago
Go Go
MIT License MIT License
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.

tint

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

slogmw

Posts with mentions or reviews of slogmw. We have used some of these posts to build our list of alternatives and similar projects.
  • Go structured logging log/slog middleware
    1 project | news.ycombinator.com | 21 Dec 2023
  • Slogtest
    1 project | news.ycombinator.com | 16 Aug 2023
    The new structured logging library is a great addition, its nice to have structured logging in the standard lib.

    It's easy to get started with log/slog and one of the built in handlers, but as soon as you want to change something the library design pushes you towards implementing an entire handler.

    For example, if I was the built in JSON format, but with a different formatting of the Time field, that's not easy to do. It's not obvious how to change the built in handler.

    I wrote slogmw[1] to solve this problem. It's a set of middleware and examples that make it easy to make small changes to the built in handlers without having to write a whole new handler from scratch.

    [1] https://github.com/zknill/slogmw

  • Middelware to make Go 1.21's new structured logger easier
    1 project | news.ycombinator.com | 10 Aug 2023

What are some alternatives?

When comparing tint and slogmw you can also consider the following projects:

zax - Zap logger with context

slog-multi - 🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...

slog-sampling - 🚨 slog sampling: drop repetitive log records

slog-gin - 🚨 Gin middleware for slog logger

termenv - Advanced ANSI style & color support for your terminal applications

slog-sentry - 🚨 slog: Sentry handler

kemba - A tiny debug logging tool. Ideal for CLI tools and command applications. Inspired by https://github.com/visionmedia/debug

zerolog - Zero Allocation JSON Logger

glo - Logging library for Golang

slog-formatter - 🚨 slog: Attribute formatting

logrus - Structured, pluggable logging for Go.

phuslu/log - Fastest structured logging