18 template<
class char_t >
21 static auto& get() noexcept
30 static auto& get() noexcept
36 template<
class char_t >
39 static auto& get() noexcept
48 static auto& get() noexcept
57 : m_pMutex(std::make_unique<std::recursive_mutex>())
58 , m_bProtectLog(streamConfig.bProtectLog)
59 , m_eMinFlushVerbosity(streamConfig.eMinFlushVerbosity)
70 do_log(
category, eVerbosity, svMessage);
72 if (eVerbosity >= m_eMinFlushVerbosity)
81 QX_PERF_SCOPE(
"Flush");
#define QX_SET_FILE_CATEGORY(_category)
Set the file category You can access this value via QX_GET_FILE_CATEGORY() This category will not be ...
void log(const category &category, verbosity eVerbosity, string_view svMessage)
Output to stream.
void flush()
Flush the stream.
base_logger_stream(const config &streamConfig) noexcept
base_logger_stream object constructor
A category is a class that identifies a particular piece of code. This code can be located in differe...