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.
|
| 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 |
| Dec 8, 2023 2:43am |
|
0 |
VERSION_BUMP |
22460627 |
| Oct 1, 2023 8:21pm |
|
0 |
VERSION_BUMP |
1c2b8857 |
| Feb 20, 2023 4:16pm |
|
0 |
VERSION_BUMP |
ad873247 |
| Feb 20, 2023 4:16pm |
|
0 |
VERSION_BUMP |
16f8d2d0 |
| Feb 5, 2023 1:08pm |
|
0 |
VERSION_BUMP |
6618c10e |
| Feb 5, 2023 1:08pm |
|
0 |
VERSION_BUMP |
23c32058 |
| Nov 24, 2022 10:36pm |
|
0 |
VERSION_BUMP |
08ce67ff |
|