MyGUI 3.4.1
|
#include <MyGUI_LevelLogFilter.h>
Public Member Functions | |
LevelLogFilter () | |
bool | shouldLog (const std::string &_section, LogLevel _level, const struct tm *_time, const std::string &_message, const char *_file, int _line) override |
void | setLoggingLevel (LogLevel _value) |
LogLevel | getLoggingLevel () const |
Public Member Functions inherited from MyGUI::ILogFilter | |
virtual | ~ILogFilter ()=default |
virtual bool | shouldLog (const std::string &_section, LogLevel _level, const struct tm *_time, const std::string &_message, const char *_file, int _line) |
Definition at line 16 of file MyGUI_LevelLogFilter.h.
MyGUI::LevelLogFilter::LevelLogFilter | ( | ) |
Definition at line 13 of file MyGUI_LevelLogFilter.cpp.
LogLevel MyGUI::LevelLogFilter::getLoggingLevel | ( | ) | const |
Get logging level.
Definition at line 28 of file MyGUI_LevelLogFilter.cpp.
void MyGUI::LevelLogFilter::setLoggingLevel | ( | LogLevel | _value | ) |
Set logging level.
_value | messages with this or higher level will be logged. |
Definition at line 23 of file MyGUI_LevelLogFilter.cpp.
|
overridevirtual |
Check if specific log message should be logged.
For example some log listeners use only messages with high log level.
Reimplemented from MyGUI::ILogFilter.
Definition at line 18 of file MyGUI_LevelLogFilter.cpp.