mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Make the logger name a constexpr
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include "loot/enum/log_level.h"
|
||||
|
||||
namespace loot {
|
||||
static const char* LOGGER_NAME = "loot_api_logger";
|
||||
static constexpr const char* LOGGER_NAME = "loot_api_logger";
|
||||
|
||||
inline std::shared_ptr<spdlog::logger> getLogger() {
|
||||
return spdlog::get(LOGGER_NAME);
|
||||
|
||||
Reference in New Issue
Block a user