Skip to content

Commit

Permalink
🚧 gucc: add missing logger impl
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jul 8, 2024
1 parent 0f722ea commit 8a81f5f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions gucc/src/logger.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include "gucc/logger.hpp"

#include <utility> // for move

#include <spdlog/spdlog-inl.h>

namespace gucc::logger {

void set_logger(std::shared_ptr<spdlog::logger> default_logger) noexcept {
spdlog::set_default_logger(std::move(default_logger));
}

} // namespace gucc::logger

0 comments on commit 8a81f5f

Please sign in to comment.