Skip to content

File LogConfig.hpp

FileList > Engine > include > Logging > LogConfig.hpp

Go to the source code of this file

Compile-time log level constants for the Engine logger.More...

Namespaces

Type Name
namespace Engine

Macros

Type Name
define ENGINE_LOG_DEBUG 2
Includes errors and log_debug messages.
define ENGINE_LOG_ERROR 1
Minimum level: log_error andlog_user_error are emitted.
define ENGINE_LOG_INFO 3
Includes every log macro, including log_info .
define ENGINE_LOG_LEVEL [**ENGINE\_LOG\_INFO**](LogConfig_8hpp.md#define-engine_log_info)

Detailed Description

Log verbosity is controlled at build time via the CMake cache variable ENGINE_LOG_LEVEL (passed as a compile definition on the Engine target).

Macro Definition Documentation

define ENGINE_LOG_DEBUG

Includes errors and log_debug messages.

#define ENGINE_LOG_DEBUG `2`


define ENGINE_LOG_ERROR

Minimum level: log_error andlog_user_error are emitted.

#define ENGINE_LOG_ERROR `1`


define ENGINE_LOG_INFO

Includes every log macro, including log_info .

#define ENGINE_LOG_INFO `3`


define ENGINE_LOG_LEVEL

#define ENGINE_LOG_LEVEL `ENGINE_LOG_INFO`


The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Logging/LogConfig.hpp