github wiresock/proxifyre v2.0.7
ProxiFyre-v2.0.7

latest releases: v2.1.2, v2.1.1, v2.0.12...
26 days ago

🚀 ProxiFyre v2.0.7 — Modern Thread-Safe Logging

This update delivers a production-ready, C++20-based logging system with major improvements in thread safety, performance, and maintainability.

✨ Highlights

  • CRTP-based logger replacing legacy singleton design.
  • C++20 features: std::format, std::osyncstream, std::source_location.
  • Atomic log level control with optimal memory ordering.
  • Shared stream management via std::shared_ptr + no-op deleters.
  • Compact 24-bit thread IDs for readable logs.
  • Local time + UTC fallback using chrono time zones.
  • Multi-level error handling for guaranteed output.

⚠️ Breaking Changes

  • logger::get_log_stream() now returns std::shared_ptr<std::ostream>.
  • socks_local_router constructors updated for shared_ptr stream parameters.
  • Replaced localtime_s with C++20 chrono formatting.

📈 Performance

  • Constexpr utilities for fast log-level checks.
  • Pre-allocated buffers with std::format_to to reduce allocations.
  • Zero-copy stream wrappers for safe, allocation-free integration.

Don't miss a new proxifyre release

NewReleases is sending notifications on new releases.