#include <OpenGUI_LogSystem.h>
Public Member Functions | |
| void | setLevel (unsigned int newLogLevel) |
| Sets the log level. Messages with a higher value than the current logLevel are not logged. | |
| void | write (std::string message, unsigned int logLevel) |
| Write a message to this log. | |
| LogMessage & | write (unsigned int logLevel) |
| Used for << notation. | |
Static Public Member Functions | |
| static LogMessage & | endlog (LogMessage &in) |
| Writes a LogMessage to the Log. This is also a stream manipulator for LogMessage. | |
Protected Member Functions | |
| Log (LogManager *parent, std::string name) | |
| Protected constructor. Logs are created only by the LogManager. | |
| OpenGUI::Log::Log | ( | LogManager * | parent, | |
| std::string | name | |||
| ) | [protected] |
Protected constructor. Logs are created only by the LogManager.
| LogMessage & OpenGUI::Log::endlog | ( | LogMessage & | in | ) | [static] |
Writes a LogMessage to the Log. This is also a stream manipulator for LogMessage.
| void OpenGUI::Log::setLevel | ( | unsigned int | newLogLevel | ) |
Sets the log level. Messages with a higher value than the current logLevel are not logged.
| LogMessage & OpenGUI::Log::write | ( | unsigned int | logLevel | ) |
Used for << notation.
| void OpenGUI::Log::write | ( | std::string | message, | |
| unsigned int | logLevel | |||
| ) |
Write a message to this log.