Interface for logging messages, warnings and errors.
More...
#include <ILogger.h>
List of all members.
Additional Inherited Members |
void | setDebugName (const c8 *newName) |
| Sets the debug name of the object.
|
Detailed Description
Interface for logging messages, warnings and errors.
Definition at line 31 of file ILogger.h.
Constructor & Destructor Documentation
virtual irr::ILogger::~ILogger |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
virtual ELOG_LEVEL irr::ILogger::getLogLevel |
( |
| ) |
const |
|
pure virtual |
Returns the current set log level.
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. |
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. |
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. |
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. |
virtual void irr::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: