logger for logging messages to stdout on the console More...
#include <engine_logger.hpp>
Static Public Member Functions | |
| static void | initialize_logger_manager (const std::string &pattern="%^[%T] %n: %v%$") |
| initializes the console_log_manager | |
| static void | set_current_logger (const std::string &p_tag="Undefined g_Tag in console_logger") |
| sets what the current logger to write to the console with | |
| static void | create_new_logger (const std::string &p_tag="Undefined Tag") |
| constructs a new spdlog::logger to write to the console | |
| static ref< spdlog::logger > | get (const std::string &p_tag) |
| retrieves that specific logger if it has been constructed | |
logger for logging messages to stdout on the console
Manages the logger instances and patterns for setting up with the loggers when writing logs
|
static |
retrieves that specific logger if it has been constructed
TODO: Should have this throw an exception rather then returning nullptr
|
static |
initializes the console_log_manager
TODO: Revisit the logger and do some refactoring because the way this works should be changed, as I'd prob do this differently now.