39 bool bProtectLog =
true;
42 verbosity eMinFlushVerbosity = verbosity::error;
77 virtual
void do_log(const
category&
category, verbosity eVerbosity, string_view svMessage) = 0;
82 virtual
void do_flush() = 0;
85 std::unique_ptr<std::recursive_mutex> m_pMutex;
86 bool m_bProtectLog = true;
87 verbosity m_eMinFlushVerbosity = verbosity::error;
92 #include <qx/logger/base_logger_stream.inl>
#define QX_DEFINE_CATEGORY(name,...)
Define a category.
Base class for logger streams.
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...
Contains perf scope macros for profiler (for internal usage only, but user may override them)