A logging utility class for the Vesper engine.
More...
#include <Log.h>
|
| static void | Init () |
| | Initializes the logging system.
|
| static std::shared_ptr< spdlog::logger > & | GetCoreLogger () |
| | Returns the core logger instance.
|
| static std::shared_ptr< spdlog::logger > & | GetClientLogger () |
| | Returns the client logger instance.
|
A logging utility class for the Vesper engine.
- Todo
- Rethink logging flow with Macros and possibly implement different loggers for different modules.
◆ GetClientLogger()
| std::shared_ptr< spdlog::logger > & Vesper::Log::GetClientLogger |
( |
| ) |
|
|
inlinestatic |
Returns the client logger instance.
static std::shared_ptr< spdlog::logger > s_ClientLogger
Definition Log.h:28
◆ GetCoreLogger()
| std::shared_ptr< spdlog::logger > & Vesper::Log::GetCoreLogger |
( |
| ) |
|
|
inlinestatic |
Returns the core logger instance.
static std::shared_ptr< spdlog::logger > s_CoreLogger
Definition Log.h:27
◆ Init()
| void Vesper::Log::Init |
( |
| ) |
|
|
static |
Initializes the logging system.
17 {
18 spdlog::set_pattern("%^[%T] %n: %v%$");
21
24 }
◆ s_ClientLogger
| std::shared_ptr< spdlog::logger > Vesper::Log::s_ClientLogger |
|
staticprivate |
◆ s_CoreLogger
| std::shared_ptr< spdlog::logger > Vesper::Log::s_CoreLogger |
|
staticprivate |
The documentation for this class was generated from the following files: