ProxiFyre 2.0.9 — Accurate Caller Locations in Logs
🛠 Logging Improvements
- Fixed an issue where log entries with
std::source_location
always reported the logger’s internal header and line number instead of the actual call site. - Introduced the
NETLIB_LOG
macro to capture true caller file/line/function when logging formatted messages. - Added
print_log_with_loc()
overload to accept explicitstd::source_location
from wrappers or macros. - Updated feature detection for
std::source_location
to ensure reliable activation across compilers.
Result: Log output now points to the real code location where the log was generated, making debugging and tracing significantly easier.
Full Changelog: v2.0.8...v2.0.9