Log class provides static methods for logging messages to the SDL log system. It includes functions for printing informational messages and errors with specific categories, using SDL's built-in logging capabilities.
More...
#include <Log.h>
|
static void | Info (const std::string &message) |
| Logs an informational message to the SDL log system.
|
|
static void | Error (LogType category, const std::string &message) |
| Logs an error message with a specified category to the SDL log system.
|
|
Log class provides static methods for logging messages to the SDL log system. It includes functions for printing informational messages and errors with specific categories, using SDL's built-in logging capabilities.
◆ Log() [1/2]
◆ Log() [2/2]
◆ Error()
void Log::Error |
( |
LogType | category, |
|
|
const std::string & | message ) |
|
static |
Logs an error message with a specified category to the SDL log system.
- Parameters
-
category | The category of the error (e.g., Render, System). |
message | The error message to be logged. |
◆ Info()
void Log::Info |
( |
const std::string & | message | ) |
|
|
static |
Logs an informational message to the SDL log system.
- Parameters
-
message | The message to be logged. |
◆ operator=()
Log & Log::operator= |
( |
const Log & | | ) |
|
|
delete |
The documentation for this class was generated from the following files: