CPP04 1.0
|
Defines the Logger class for console-based logging. [詳解]
クラス | |
class | Logger |
The Logger class provides static methods for logging messages. [詳解] | |
マクロ定義 | |
#define | LOG_INFO(msg) |
Macro for logging informational messages. | |
#define | LOG_WARNING(msg) |
Macro for logging warning messages. | |
#define | LOG_ERROR(msg) |
Defines the Logger class for console-based logging.
This header provides the declaration of the Logger class, including its log levels, constructors, destructors, copy operations, and the static method for logging messages. It also defines macros for conditional logging based on DEBUG_MODE.
Logger.hpp に定義があります。
#define LOG_ERROR | ( | msg | ) |
Logger.hpp の 93 行目に定義があります。
#define LOG_INFO | ( | msg | ) |
Macro for logging informational messages.
Expands to a call to Logger::log(Logger::LOG_INFO, msg) only when DEBUG_MODE is defined. Otherwise, it expands to nothing, optimizing release builds.
msg | The message string to log. |
Logger.hpp の 70 行目に定義があります。
#define LOG_WARNING | ( | msg | ) |
Macro for logging warning messages.
Expands to a call to Logger::log(Logger::LOG_WARNING, msg) only when DEBUG_MODE is defined. Otherwise, it expands to nothing.
msg | The message string to log. |
Logger.hpp の 85 行目に定義があります。