Use bounded queue for the logger, cleanup code
- Use detail::ringbuffer as queue for the logger - Limit queue size to 128 per default - Consolidate various flags and parameters in a simple bitfield - Re-assign log level integer values: * Log level QUIET is now 0 * TRACE has now the new maximum value 15 * Added 9 currently unused values for later extensions - Use names, not integers for the CAF_LOG_LEVEL variable in CMake - Remove several #ifdef-blocks in the logger implementation * A log level of QUIET already makes these code paths unreachable * Enables users to compile without CAF logging but still the logger
Showing
Please register or sign in to comment