mirror of
https://github.com/boostorg/log.git
synced 2026-02-02 08:52:14 +00:00
f843088e791d44f5a092bee294c000b1cb899bdf
Extracted default formatter factory to a separate translation unit. Made all default factories optional, the factories can be disabled with the new config macro BOOST_LOG_WITHOUT_DEFAULT_FACTORIES. Refs #8773, #8786.
Refs #8730. The once_flag doesn't have initializer now when defined by the BOOST_LOG_ONCE_BLOCK macro. This is done in order to guarantee it is initialized at static initialization stage even on (theoretical) compilers that would not do so if the initializer is present. The BOOST_LOG_ONCE_BLOCK_FLAG macro has been fixed so that it actually uses the flag variable specified in its argument. The flag itself is now a single byte internally in order to minimize the chance of reading an inaccurate value at the fast path. The test robustness improved.
Description
Mirrored via gitea-mirror
Languages
C++
99%
CMake
1%