12 virtual void Log(std::string_view a_Message,
eLogLevel a_LogLevel) = 0;
25 a_other.m_listener =
nullptr;
39 a_other.m_listener =
nullptr;
53 void LogPrintf(std::string_view a_Format,
eLogLevel a_LogLevel, fmt::printf_args a_ArgList);
56 void LogFormat(std::string_view a_Format,
eLogLevel a_LogLevel, fmt::format_args a_ArgList);
void LogPrintf(std::string_view a_Format, eLogLevel a_LogLevel, fmt::printf_args a_ArgList)
Log a message formatted with a printf style formatting string.
void LogLine(std::string_view a_Line, eLogLevel a_LogLevel)
static cLogger & GetInstance(void)
void LogFormat(std::string_view a_Format, eLogLevel a_LogLevel, fmt::format_args a_ArgList)
Log a message formatted with a python style formatting string.
void DetachListener(cListener *a_Listener)
static void InitiateMultithreading()
std::vector< std::unique_ptr< cListener > > m_LogListeners
void LogSimple(std::string_view a_Message, eLogLevel a_LogLevel=eLogLevel::Regular)
Logs the simple text message at the specified log level.
cCriticalSection m_CriticalSection
cAttachment AttachListener(std::unique_ptr< cListener > a_Listener)
virtual void Log(std::string_view a_Message, eLogLevel a_LogLevel)=0
cAttachment(cListener *a_listener)
cAttachment & operator=(cAttachment &&a_other)
cAttachment(cAttachment &&a_other)