SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::Log Class Reference

#include <Log.h>

Public Types

template<typename... Args>
using format_string_t = fmt::format_string<Args...>
 using format_string_t instanced of fmt::format_string<Args...>;
 

Static Public Member Functions

static void Init ()
 Init Log.
 
static void ShutDown ()
 Shutdown Log.
 
static std::shared_ptr< spdlog::logger > & GetCoreLogger ()
 Get Engine Stage Logger.
 
static std::shared_ptr< spdlog::logger > & GetClientLogger ()
 Get Game Stage Logger.
 
template<typename... Args>
static void PostHandle (format_string_t< Args... > fmt, Args &&...args)
 Post handle with log message.
 

Static Public Attributes

static bool m_IsInitialized = false
 

Static Private Attributes

static std::shared_ptr< spdlog::logger > s_CoreLogger
 Engine Stage Logger.
 
static std::shared_ptr< spdlog::logger > s_ClientLogger
 Game Stage Logger.
 

Detailed Description

brief Log Class defines log behaves.

Definition at line 24 of file Log.h.


The documentation for this class was generated from the following files: