da

dazl – the Go logging framework of frameworks

Hacker News

dazl – the Go logging framework of frameworks

A few years ago, my team moved from Java to Go. Working on Go projects, we came across a variety of logging frameworks with different APIs outputting messages in different formats. Go seemed to be lacking a logging abstraction like slf4j, which has been so invaluable to the Java ecosystem. Without that abstraction layer, the APIs for configuring logging vary wildly across projects, and libraries must either add a dependency on one of those frameworks or simply avoid structured logging altogether. Dazl is a logging abstraction layer that decouples the logging API from specific Go logging libraries, providing a pluggable logging backend with support for popular frameworks like zap and zerolog. Add logging to your Go library without forcing a particular logging dependency on your users. Use dazl to make logging configurable (via YAML) in your Go application. Dazl is designed to make logging easier for Go developers and their users by providing a unified interface to establish consistency across Go libraries and logging frameworks. Dazl was originally developed in open source at the Open Networking Foundation but remained somewhat hidden away within the subdirectories of an obscure repo. My team has since moved to Intel where this project is still in use in today. I’m sharing it now in the hopes Go developers will get the same value from it we have.

Share card

Actual performance

9points
3comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: user, apis, open · Missing: mac, agents, macos
84%84% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
75%75% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: lua, open source, io · Missing: https docs, excited, just released
56%56% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: users, way · Missing: mobile apps, ios, personal
45%45% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface, users · Missing: plus, platform, intuitive
29%29% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Lo
Logchain – Show HN: Logchain – A remote logging framework70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Logchain – Show HN: Logchain – A remote logging framework

Hacker News4
Ng
Nginx logging to ZeroMQ74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nginx logging to ZeroMQ

Hacker News6
As
Astroflow – An unified logging framework for all languages53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Astroflow – An unified logging framework for all languages

Hacker News1
Fa
FastMCP – MCP framework with image, logging, error handling and SSE24%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FastMCP – MCP framework with image, logging, error handling and SSE

Hacker News3
Ce
Centralized Logging Tool52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Centralized Logging Tool

Hacker News2
iO
iOS Logging framework for high usage Apps50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

iOS Logging framework for high usage Apps

Hacker News1
Bl
Blindsight, a Scala Logging API58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Blindsight, a Scala Logging API

Hacker News4
Dj
Django Easy Logging48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Django Easy Logging

Hacker News5
Pr
Protobuf Based Schema Centric Logging Framework51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Protobuf Based Schema Centric Logging Framework

Hacker News8
dl
dlog – A delegating logging library for Golang44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

dlog – A delegating logging library for Golang

Hacker News1