g3log
« Back to VersTracker
Description:
Asynchronous, 'crash safe', logger that is easy to use
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @KjellKod  |  formulae.brew.sh
Category: Developer tools
Tags: c++ logging async crash-safe development
Install: brew install g3log
About:
G3log is a crash-safe, asynchronous logger designed for C++ applications. It handles log messages in a background thread to prevent I/O from blocking the main application. Its primary value is ensuring that log entries are reliably captured even in the event of a program crash or fatal signal.
Key Features:
  • Asynchronous logging with a background worker thread
  • Crash safe design that catches fatal signals and logs them
  • Compile-time enabled or disabled logging (no runtime overhead when disabled)
  • Extensible with custom log sinks
Use Cases:
  • High-performance C++ applications requiring non-blocking logging
  • Critical systems where crash diagnostics are essential
  • Embedded systems and game development
Alternatives:
  • spdlog – spdlog is generally faster for raw throughput, while G3log focuses heavily on crash safety and signal handling.
  • glog – Google's glog is a mature alternative, but G3log offers a more modern C++ API and better async handling.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 2:11pm 0 VERSION_BUMP 3c1f5176
Oct 27, 2024 3:46pm 0 VERSION_BUMP 4f94e428
Sep 13, 2024 8:21am 0 VERSION_BUMP 1dbbd3a6