3 #include <spdlog/spdlog.h>
35 static std::shared_ptr<spdlog::logger>
logger;
const std::string ansi_bright_white_bold
const std::string ansi_yellow_bold
const std::string ansi_end
const std::string ansi_orange_bold
const std::string ansi_green_bold
const std::string ansi_blue_bold
Class as wrapper and initializer for a globally usable logger.
static void update_level(std::string &log_level)
Sets the log level of the logger.
static std::shared_ptr< spdlog::logger > init_logger(LogType log_type=LogType::STD)
Initializes the logger.
static std::shared_ptr< spdlog::logger > logger
Publically accessible shared pointer to the logger.
LogType
Enum for the type of logger.