Interface for logging messages, warnings and errors.
More...
#include <ILogger.h>
Interface for logging messages, warnings and errors.
Definition at line 38 of file ILogger.h.
◆ ~ILogger()
virtual irr::ILogger::~ILogger |
( |
| ) |
|
|
inlinevirtual |
◆ getLogLevel()
virtual ELOG_LEVEL irr::ILogger::getLogLevel |
( |
| ) |
const |
|
pure virtual |
Returns the current set log level.
◆ log() [1/5]
Prints out a text into the log.
- Parameters
-
text | Text to print out. |
ll | Log level of the text. If the text is an error, set it to ELL_ERROR, if it is warning set it to ELL_WARNING, and if it is just an informational text, set it to ELL_INFORMATION. Texts are filtered with these levels. If you want to be a text displayed, independent on what level filter is set, use ELL_NONE. |
◆ log() [2/5]
Prints out a text into the log.
- Parameters
-
text | Text to print out. |
hint | Additional info. This string is added after a " :" to the string. |
ll | Log level of the text. If the text is an error, set it to ELL_ERROR, if it is warning set it to ELL_WARNING, and if it is just an informational text, set it to ELL_INFORMATION. Texts are filtered with these levels. If you want to be a text displayed, independent on what level filter is set, use ELL_NONE. |
◆ log() [3/5]
◆ log() [4/5]
Prints out a text into the log.
- Parameters
-
text | Text to print out. |
hint | Additional info. This string is added after a " :" to the string. |
ll | Log level of the text. If the text is an error, set it to ELL_ERROR, if it is warning set it to ELL_WARNING, and if it is just an informational text, set it to ELL_INFORMATION. Texts are filtered with these levels. If you want to be a text displayed, independent on what level filter is set, use ELL_NONE. |
◆ log() [5/5]
Prints out a text into the log.
- Parameters
-
text | Text to print out. |
ll | Log level of the text. If the text is an error, set it to ELL_ERROR, if it is warning set it to ELL_WARNING, and if it is just an informational text, set it to ELL_INFORMATION. Texts are filtered with these levels. If you want to be a text displayed, independent on what level filter is set, use ELL_NONE. |
◆ setLogLevel()
Sets a new log level.
With this value, texts which are sent to the logger are filtered out. For example setting this value to ELL_WARNING, only warnings and errors are printed out. Setting it to ELL_INFORMATION, which is the default setting, warnings, errors and informational texts are printed out.
- Parameters
-
ll | new log level filter value. |
The documentation for this class was generated from the following file: