swebb2066 commented on PR #384: URL: https://github.com/apache/logging-log4cxx/pull/384#issuecomment-2113726435
> would it make sense to make a vararg or [parameter packed](https://en.cppreference.com/w/cpp/language/parameter_pack) version of LogLog::debug()? I do not know how to use parameter packs and achieve avoiding message building when debug is disabled. I believe internal debug logging is currently sparse (limited to infrequently executed code) to reduce overhead. The `LogLog::isDebugEnabled()` is much higher overhead than `Logger::isDebugEnabledFor(logger)` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org