KarmaEngine
Game Engine for practical learning and research purposes
|
Karma's logging class with the logger like so. More...
#include <Log.h>
Static Public Member Functions | |
static void | Init () |
Initializes the logging class. | |
static std::shared_ptr< spdlog::logger > & | GetCoreLogger () |
Getter for the Core logger. | |
static std::shared_ptr< spdlog::logger > & | GetClientLogger () |
Getter for the Client logger. | |
Karma's logging class with the logger like so.
Upon each log write the logger:
The use of private formatter per sink provides the opportunity to cache some formatted data, and support for different format per sink.
|
inlinestatic |
Getter for the Client logger.
|
inlinestatic |
Getter for the Core logger.
|
static |
Initializes the logging class.
The following steps are taken