![]() |
nCine
2025.04.r498-9d36345
A cross-platform 2D game engine
|
The interface class for loggers. More...
#include <ILogger.h>
Public Types | |
enum class | LogLevel { UNKNOWN = -1 , OFF = 0 , VERBOSE , DEBUG , INFO , WARN , ERROR , FATAL } |
Log levels, from less to more severe. | |
Public Member Functions | |
virtual unsigned int | write (LogLevel level, const char *fmt,...)=0 |
Logs a message with a specified level of severity. | |
virtual const char * | logString () const =0 |
Returns the log string with all the recorded log entries. | |
virtual void | clearLogString ()=0 |
Clears the entries from the log string. | |
virtual unsigned int | logStringLength () const =0 |
Returns the length of the log string. | |
virtual unsigned int | logStringCapacity () const =0 |
Returns the capacity of the log string. | |
The interface class for loggers.