Skip to content

Commit

Permalink
maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 authored and github-actions[bot] committed Sep 7, 2024
1 parent acfe77f commit 3dc82f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SKSE/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ namespace SKSE
};

auto logger = std::make_shared<spdlog::logger>("global", sinks.begin(), sinks.end());
#ifndef NDEBUG
# ifndef NDEBUG
logger->set_level(spdlog::level::debug);
logger->flush_on(spdlog::level::debug);
#else
# else
logger->set_level(spdlog::level::info);
logger->flush_on(spdlog::level::info);
#endif
# endif
spdlog::set_default_logger(std::move(logger));
spdlog::set_pattern("[%T.%e] [%=5t] [%L] %v");
#endif
Expand Down

0 comments on commit 3dc82f5

Please sign in to comment.