diff --git a/src/tools/Log.hpp b/src/tools/Log.hpp index cbe861d..0c4ace9 100644 --- a/src/tools/Log.hpp +++ b/src/tools/Log.hpp @@ -16,9 +16,9 @@ namespace tools { */ class Log { - static static std::shared_ptr initialize_logger() { + static std::shared_ptr initialize_logger() { - static std::shared_ptr instance = spdlog::stdout_color_st( "njoy" ); + std::shared_ptr instance = spdlog::stdout_color_st( "njoy" ); instance->set_pattern( "[%^%l%$] %v" ); #ifndef NDEBUG instance->set_level( spdlog::level::debug ); @@ -26,9 +26,9 @@ class Log { return instance; } - static static std::shared_ptr& logger() { + static std::shared_ptr& logger() { - static static std::shared_ptr instance = initialize_logger(); + static std::shared_ptr instance = initialize_logger(); return instance; }