Interface for logging messages, warnings and errors.
More...
#include <nirtcpp/core/engine/ILogger.hpp>
|
void | setDebugName (const c8 *newName) |
| Sets the debug name of the object.
|
|
Interface for logging messages, warnings and errors.
◆ log() [1/4]
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() [2/4]
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() [3/4]
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() [4/4]
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()
virtual void nirt::ILogger::setLogLevel |
( |
ELOG_LEVEL |
ll | ) |
|
|
pure virtual |
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: