Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine.
GitHub | Vesper Updates | Creator
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  Vesper::Log
 A logging utility class for the Vesper engine. More...

Namespaces

namespace  Vesper
 TEMPORARY.

Macros

#define VZ_CORE_TRACE(...)
 trace: lowest level, for detailed debug information
#define VZ_CORE_INFO(...)
 info: general information about application flow
#define VZ_CORE_WARN(...)
 warn: indicates a potential issue or important event
#define VZ_CORE_ERROR(...)
 error: indicates an error that has occurred
#define VZ_CORE_FATAL(...)
 fatal: indicates a critical error that may cause application termination
#define VZ_TRACE(...)
 trace: lowest level, for detailed debug information
#define VZ_INFO(...)
 info: general information about application flow
#define VZ_WARN(...)
 warn: indicates a potential issue or important event
#define VZ_ERROR(...)
 error: indicates an error that has occurred
#define VZ_FATAL(...)
 fatal: indicates a critical error that may cause application termination

Detailed Description

Declares the logging system for the Vesper engine.

Author
Damon S. Green II

Macro Definition Documentation

◆ VZ_CORE_ERROR

#define VZ_CORE_ERROR ( ...)
Value:
::Vesper::Log::GetCoreLogger()->error(__VA_ARGS__)
static std::shared_ptr< spdlog::logger > & GetCoreLogger()
Returns the core logger instance.
Definition Log.h:23

error: indicates an error that has occurred

◆ VZ_CORE_FATAL

#define VZ_CORE_FATAL ( ...)
Value:
::Vesper::Log::GetCoreLogger()->critical(__VA_ARGS__)

fatal: indicates a critical error that may cause application termination

◆ VZ_CORE_INFO

#define VZ_CORE_INFO ( ...)
Value:
::Vesper::Log::GetCoreLogger()->info(__VA_ARGS__)

info: general information about application flow

◆ VZ_CORE_TRACE

#define VZ_CORE_TRACE ( ...)
Value:
::Vesper::Log::GetCoreLogger()->trace(__VA_ARGS__)

trace: lowest level, for detailed debug information

◆ VZ_CORE_WARN

#define VZ_CORE_WARN ( ...)
Value:
::Vesper::Log::GetCoreLogger()->warn(__VA_ARGS__)

warn: indicates a potential issue or important event

◆ VZ_ERROR

#define VZ_ERROR ( ...)
Value:
::Vesper::Log::GetClientLogger()->error(__VA_ARGS__)
static std::shared_ptr< spdlog::logger > & GetClientLogger()
Returns the client logger instance.
Definition Log.h:25

error: indicates an error that has occurred

◆ VZ_FATAL

#define VZ_FATAL ( ...)
Value:
::Vesper::Log::GetClientLogger()->critical(__VA_ARGS__)

fatal: indicates a critical error that may cause application termination

◆ VZ_INFO

#define VZ_INFO ( ...)
Value:
::Vesper::Log::GetClientLogger()->info(__VA_ARGS__)

info: general information about application flow

◆ VZ_TRACE

#define VZ_TRACE ( ...)
Value:
::Vesper::Log::GetClientLogger()->trace(__VA_ARGS__)

trace: lowest level, for detailed debug information

◆ VZ_WARN

#define VZ_WARN ( ...)
Value:
::Vesper::Log::GetClientLogger()->warn(__VA_ARGS__)

warn: indicates a potential issue or important event