[D] Use of std::format [logging-log4cxx]

s9w (via GitHub) <[email protected]> Wed, 14 Jan 2026 08:25:49 -0000
Newsgroups gmane.comp.jakarta.log4j.devel
Message-ID <ghd-D_kwDOBToI6s4Ajot6__27546.7347166099$1768379243$gmane$org@gitbox.apache.org>
GitHub user s9w created a discussion: Use of std::format

We're trying to switch from fmt to standard format. But I can't really find documentation on how to do that in log4cxx. From what I understood from the sources, I need the LOG4CXX_USING_STD_FORMAT to be defined. But that only seems to happen when there's LOG4CXX_USE_STANDARD_FORMAT in cmake. So I tried

set(LOG4CXX_USE_STANDARD_FORMAT 1)

In my Cmakelists before find_package(log4cxx CONFIG REQUIRED). but that didn't work. So how do you do this?

GitHub link: https://github.com/apache/logging-log4cxx/discussions/580

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]