5#ifndef NIRT_I_LOGGER_HPP_INCLUDED
6#define NIRT_I_LOGGER_HPP_INCLUDED
8#include <nirtcpp/core/engine/IReferenceCounted.hpp>
Interface for logging messages, warnings and errors.
Definition ILogger.hpp:39
virtual void setLogLevel(ELOG_LEVEL ll)=0
Sets a new log level.
virtual ELOG_LEVEL getLogLevel() const =0
Returns the current set log level.
virtual void log(const c8 *text, ELOG_LEVEL ll=ELL_INFORMATION)=0
Prints out a text into the log.
virtual ~ILogger()
Destructor.
Definition ILogger.hpp:43
virtual void log(const wchar_t *text, const wchar_t *hint, ELOG_LEVEL ll=ELL_INFORMATION)=0
Prints out a text into the log.
virtual void log(const c8 *text, const c8 *hint, ELOG_LEVEL ll=ELL_INFORMATION)=0
Prints out a text into the log.
virtual void log(const wchar_t *text, ELOG_LEVEL ll=ELL_INFORMATION)=0
Prints out a text into the log.
Base class of most objects of the Nirtcpp Engine.
Definition IReferenceCounted.hpp:46
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
char c8
8 bit character variable.
Definition irrTypes.hpp:37
ELOG_LEVEL
Definition ILogger.hpp:18
@ ELL_WARNING
Warnings that something isn't as expected and can cause oddities.
Definition ILogger.hpp:26
@ ELL_NONE
Definition ILogger.hpp:33
@ ELL_DEBUG
Used for printing information helpful in debugging.
Definition ILogger.hpp:20
@ ELL_INFORMATION
Useful information to print. For example hardware infos or something started/stopped.
Definition ILogger.hpp:23
@ ELL_ERROR
Something did go wrong.
Definition ILogger.hpp:29