{"repo":"hendriknielaender/zlog","free":true,"listed":false,"github":"https://github.com/hendriknielaender/zlog","clone":"git clone https://github.com/hendriknielaender/zlog.git","description":"🪵 structured logging library for zig","language":"Zig","stars":28,"topics":["lib","library","logging","structured-logging","zig","async","file-logger","json","network-logs","zig-lib"],"license":"MIT","category":"analytics","readme_excerpt":"[!WARNING] Still work in progress. zlog - structured logging for zig zlog is a high-performance, zero-allocation structured logging library for Zig with full OpenTelemetry support. Designed for system-level applications requiring maximum performance and observability, zlog provides clean anonymous struct logging with comprehensive tracing capabilities. --- Getting Started Installation 1. Add to build.zig.zon : Note : zlog now uses Zig 0.16's native std.Io runtime. No external event-loop dependency is required. 2. Configure in build.zig : Basic Usage Async Logging For maximum throughput in high-load scenarios: Custom Configuration Anonymous Struct API zlog uses anonymous structs exclusively for clean, type-safe logging: Field Redaction zlog provides a hybrid compile-time and runtime redaction system for sensitive data: Compile-time Redaction (Zero Cost) Runtime Redaction (Dynamic) Hybrid Approach Log Levels Performance Benchmarks zlog is designed for zero-allocation logging with exceptional performance: Key Performance Features - Zero Allocations : No heap allocations during logging operations - SIMD Optimizations : Vectorized string operations where available - Async Batching : Intelligent batching with backpressure handling - Pre-formatted Traces : Hex strings generated once, reused efficiently - Compile-time Field Validation : Type safety with zero runtime cost Trace Full distributed tracing support with pre-formatted hex strings for maximum performance: Output: zlog provid","default_branch":null,"files":null,"tree":[],"storefront":"/r/hendriknielaender","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hendriknielaender/zlog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}