Skip to content

File Logger.hpp

FileList > Engine > include > Logging > Logger.hpp

Go to the source code of this file

Compile-time filtered logging macros for the Engine .More...

  • #include "Logging/LogBuffer.hpp"
  • #include "Logging/LogConfig.hpp"
  • #include "Logging/LogWriter.hpp"
  • #include <string>
  • #include <utility>

Namespaces

Type Name
namespace Engine

Macros

Type Name
define log_debug (msg) [**Engine::log\_debug**](namespaceEngine.md#function-log_debug)((msg))
define log_error (msg) [**Engine::log\_error**](namespaceEngine.md#function-log_error)((msg))
define log_info (msg) [**Engine::log\_info**](namespaceEngine.md#function-log_info)((msg))
define log_user_error (msg) [**Engine::log\_user\_error**](namespaceEngine.md#function-log_user_error)((msg))

Detailed Description

Provides log_error, log_user_error, log_debug and log_info. Every emitted line is queued for the terminal worker. Only log_user_error is stored in LogBuffer for the editor Console. Macros below the configured ENGINE_LOG_LEVEL are stripped at compile time and produce no code.

Macro Definition Documentation

define log_debug

#define log_debug (
    msg
) `Engine::log_debug ((msg))`

define log_error

#define log_error (
    msg
) `Engine::log_error ((msg))`

define log_info

#define log_info (
    msg
) `Engine::log_info ((msg))`

define log_user_error

#define log_user_error (
    msg
) `Engine::log_user_error ((msg))`


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