Zig Developers
muhammadfiaz's profile
Muhammad Fiaz@muhammadfiazβ€’Dec 04, 2025
5.1K
Post cover image

muhammad-fiaz/logly.zig: A production-ready, high-performance structured logging library for Zig with a clean, simplified API.

From github.comβ€’Dec 04, 2025β€’19m read time

Logly.zig is a production-ready structured logging library for Zig featuring 8 log levels, multiple output sinks (console, file, JSON), file rotation (time and size-based), ANSI color support, async I/O, thread-safe operations, and enterprise features like distributed tracing, metrics, sampling, and redaction. It offers a clean Python-like API with methods such as logger.info() and logger.err(), supports custom log levels and formats, and includes advanced capabilities like compression, thread pools, and automatic maintenance scheduling. Benchmark results show throughput up to 26M ops/sec with the high-throughput preset.

Sort:

muhammadfiaz's user avatar
Muhammad Fiaz
@muhammadfiaz
JoinedΒ Oct 12. 2023
5.1K

Open-Source Contributor ✨ and Maintainer πŸ”₯ and Full Stack Developer πŸ§‘β€πŸ’»

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • Β© 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard