log4cpp
« Back to VersTracker
Description:
Configurable logging for C++
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: logging c++ developer-tools library
Install: brew install log4cpp
About:
Log4cpp is a portable C++ library designed to facilitate application logging across various priority levels. It provides flexible architecture for directing log messages to different outputs, such as files, consoles, or system logs. This allows developers to instrument code for debugging and monitoring without altering the core application logic.
Key Features:
  • Flexible priority-based logging levels
  • Multiple output appenders (file, console, syslog)
  • Support for hierarchical categories
  • Portable across multiple platforms
Use Cases:
  • Implementing centralized logging in C++ applications
  • Debugging production systems via configurable log verbosity
  • Routing logs to different destinations based on severity
Alternatives:
  • spdlog – spdlog is a modern, header-only C++ library known for high performance, whereas Log4cpp follows a classic, heavier architecture.
  • glog – glog (Google Logging) offers robust core dumping and signal handling, while Log4cpp focuses on flexible configuration and routing.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 7:24am 0 VERSION_BUMP 29f7a8b1