slogmw

Middleware for the go standard library log/slog package (by zknill)

Slogmw Alternatives

Similar projects and alternatives to slogmw

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better slogmw alternative or higher similarity.

slogmw reviews and mentions

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
  • A note from our sponsor - WorkOS
    workos.com | 29 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic slogmw repo stats
3
8
5.3
9 months ago

zknill/slogmw is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of slogmw is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com