Muto 0.0.1
Cross-Platform Application Template
GitHub Repo | Muto Updates | Muto's Author
Loading...
Searching...
No Matches
Log.h File Reference

Declares the logging system for the Vesper engine. More...

#include "Base.h"
#include "spdlog/spdlog.h"
#include "spdlog/fmt/ostr.h"

Go to the source code of this file.

Classes

class  Muto::Log
 A logging utility class for the Vesper engine. More...
 

Namespaces

namespace  Muto
 The main namespace for the Muto engine.
 

Macros

#define MU_CORE_ERROR(...)   ::Muto::Log::GetCoreLogger()->error(__VA_ARGS__)
 error: indicates an error that has occurred
 
#define MU_CORE_FATAL(...)   ::Muto::Log::GetCoreLogger()->critical(__VA_ARGS__)
 fatal: indicates a critical error that may cause application termination
 
#define MU_CORE_INFO(...)   ::Muto::Log::GetCoreLogger()->info(__VA_ARGS__)
 info: general information about application flow
 
#define MU_CORE_TRACE(...)   ::Muto::Log::GetCoreLogger()->trace(__VA_ARGS__)
 trace: lowest level, for detailed debug information
 
#define MU_CORE_WARN(...)   ::Muto::Log::GetCoreLogger()->warn(__VA_ARGS__)
 warn: indicates a potential issue or important event
 
#define MU_ERROR(...)   ::Muto::Log::GetClientLogger()->error(__VA_ARGS__)
 error: indicates an error that has occurred
 
#define MU_FATAL(...)   ::Muto::Log::GetClientLogger()->critical(__VA_ARGS__)
 fatal: indicates a critical error that may cause application termination
 
#define MU_INFO(...)   ::Muto::Log::GetClientLogger()->info(__VA_ARGS__)
 info: general information about application flow
 
#define MU_TRACE(...)   ::Muto::Log::GetClientLogger()->trace(__VA_ARGS__)
 trace: lowest level, for detailed debug information
 
#define MU_WARN(...)   ::Muto::Log::GetClientLogger()->warn(__VA_ARGS__)
 warn: indicates a potential issue or important event
 

Detailed Description

Declares the logging system for the Vesper engine.

Author
Damon S. Green II

Macro Definition Documentation

◆ MU_CORE_ERROR

#define MU_CORE_ERROR (   ...)    ::Muto::Log::GetCoreLogger()->error(__VA_ARGS__)

error: indicates an error that has occurred

◆ MU_CORE_FATAL

#define MU_CORE_FATAL (   ...)    ::Muto::Log::GetCoreLogger()->critical(__VA_ARGS__)

fatal: indicates a critical error that may cause application termination

◆ MU_CORE_INFO

#define MU_CORE_INFO (   ...)    ::Muto::Log::GetCoreLogger()->info(__VA_ARGS__)

info: general information about application flow

◆ MU_CORE_TRACE

#define MU_CORE_TRACE (   ...)    ::Muto::Log::GetCoreLogger()->trace(__VA_ARGS__)

trace: lowest level, for detailed debug information

◆ MU_CORE_WARN

#define MU_CORE_WARN (   ...)    ::Muto::Log::GetCoreLogger()->warn(__VA_ARGS__)

warn: indicates a potential issue or important event

◆ MU_ERROR

#define MU_ERROR (   ...)    ::Muto::Log::GetClientLogger()->error(__VA_ARGS__)

error: indicates an error that has occurred

◆ MU_FATAL

#define MU_FATAL (   ...)    ::Muto::Log::GetClientLogger()->critical(__VA_ARGS__)

fatal: indicates a critical error that may cause application termination

◆ MU_INFO

#define MU_INFO (   ...)    ::Muto::Log::GetClientLogger()->info(__VA_ARGS__)

info: general information about application flow

◆ MU_TRACE

#define MU_TRACE (   ...)    ::Muto::Log::GetClientLogger()->trace(__VA_ARGS__)

trace: lowest level, for detailed debug information

◆ MU_WARN

#define MU_WARN (   ...)    ::Muto::Log::GetClientLogger()->warn(__VA_ARGS__)

warn: indicates a potential issue or important event