MyGUI
3.2.1
|
#include <MyGUI_LogSource.h>
Public Member Functions | |
LogSource () | |
~LogSource () | |
void | setLogFilter (ILogFilter *_filter) |
void | addLogListener (ILogListener *_lestener) |
void | open () |
void | close () |
void | flush () |
void | log (const std::string &_section, LogLevel _level, const struct tm *_time, const std::string &_message, const char *_file, int _line) |
Definition at line 18 of file MyGUI_LogSource.h.
MyGUI::LogSource::LogSource | ( | ) |
Definition at line 13 of file MyGUI_LogSource.cpp.
MyGUI::LogSource::~LogSource | ( | ) |
Definition at line 18 of file MyGUI_LogSource.cpp.
void MyGUI::LogSource::addLogListener | ( | ILogListener * | _lestener | ) |
Set log messages filter.
Definition at line 27 of file MyGUI_LogSource.cpp.
void MyGUI::LogSource::close | ( | ) |
Call ILogListener::close() for all listeners.
Definition at line 38 of file MyGUI_LogSource.cpp.
void MyGUI::LogSource::flush | ( | ) |
Call ILogListener::flush() for all listeners.
Definition at line 44 of file MyGUI_LogSource.cpp.
void MyGUI::LogSource::log | ( | const std::string & | _section, |
LogLevel | _level, | ||
const struct tm * | _time, | ||
const std::string & | _message, | ||
const char * | _file, | ||
int | _line | ||
) |
Call ILogListener::log for all listeners for messages that match LogSource filter (
Definition at line 50 of file MyGUI_LogSource.cpp.
void MyGUI::LogSource::open | ( | ) |
Call ILogListener::open() for all listeners.
Definition at line 32 of file MyGUI_LogSource.cpp.
void MyGUI::LogSource::setLogFilter | ( | ILogFilter * | _filter | ) |
Set log messages filter.
Definition at line 22 of file MyGUI_LogSource.cpp.