π Release v5.0.0
We are excited to announce the release of log4cpp v5.0.0! This major release brings modern C++ standards, cross-platform enhancements, and a safer, more modern logging interface.
π What's New
π macOS Support
- Fully compatible with macOS environments. log4cpp is now truly cross-platform!
β‘οΈ Modern C++20 Upgrade
- The entire codebase has been upgraded to C++20. Take advantage of modern language features and improved performance.
π Modernized Formatting Interface
- Breaking Change: Completely removed the legacy printf-style formatting interfaces.
- New Feature: Adopted typesafe and modern
std::format-style interfaces for all logging macros and functions.
π Migration Guide (From v4.x to v5.0.0)
If you are upgrading from an older version, you will need to update your log formatting syntax:
Old Style (v4.x):
logger.info("User %s logged in with ID %d", username.c_str(), userId);New Style (v5.0.0):
logger.info("User {} logged in with ID {}", username, userId);