C++ implementation of the Google logging module
https://github.com/google/glog/pull/1074 refactored some of the code to enable the failure function to throw. This made it so when the LogMessageFatal class was used, the error ended up being printed differently. Before: LOG_AT_LEVEL(google::LogSeverity::FATAL) << "Crash: Hello world!"; -> F20240621 18:12:44.710584 139620827212672 log_demo.cc:16] Crash: Hello world! *** Check failure stack trace: *** @ 0x559e2704711a @ 0x7efc01fac24a @ 0x7efc01fac305 @ 0x559e27046dd5 Aborted LOG(FATAL) << "Crash: Hello world!"; -> F20240621 18:13:05.760556 140518290856832 log_demo.cc:16] Crash: Hello world! @ 0x55cdc2475130 @ 0x7fccf6fb324a @ 0x7fccf6fb3305 @ 0x55cdc2474df5 Aborted With this patch, they both produce the same output. Signed-off-by: Austin Schuh <austin.linux@gmail.com> |
||
|---|---|---|
| .bazelci | ||
| .github | ||
| bazel | ||
| cmake | ||
| docs | ||
| examples | ||
| src | ||
| .clang-format | ||
| .clang-tidy | ||
| .gitattributes | ||
| .gitignore | ||
| AUTHORS | ||
| BUILD.bazel | ||
| ChangeLog | ||
| CMakeLists.txt | ||
| codecov.yml | ||
| CONTRIBUTORS | ||
| gcovr.cfg | ||
| glog-config.cmake.in | ||
| glog-modules.cmake.in | ||
| libglog.pc.in | ||
| LICENSE.md | ||
| mkdocs.yml | ||
| MODULE.bazel | ||
| README.rst | ||
| WORKSPACE.bazel | ||
Google Logging Library ====================== |Linux Github actions| |Windows Github actions| |macOS Github actions| |Codecov| Google Logging (glog) is a C++14 library that implements application-level logging. The library provides logging APIs based on C++-style streams and various helper macros. Getting Started --------------- Please refer to project's `documentation <https://google.github.io/glog/>`_. .. |Linux Github actions| image:: https://github.com/google/glog/actions/workflows/linux.yml/badge.svg :target: https://github.com/google/glog/actions .. |Windows Github actions| image:: https://github.com/google/glog/actions/workflows/windows.yml/badge.svg :target: https://github.com/google/glog/actions .. |macOS Github actions| image:: https://github.com/google/glog/actions/workflows/macos.yml/badge.svg :target: https://github.com/google/glog/actions .. |Codecov| image:: https://codecov.io/gh/google/glog/branch/master/graph/badge.svg?token=8an420vNju :target: https://codecov.io/gh/google/glog