diff --git a/gucc/src/logger.cpp b/gucc/src/logger.cpp new file mode 100644 index 0000000..a92d90c --- /dev/null +++ b/gucc/src/logger.cpp @@ -0,0 +1,13 @@ +#include "gucc/logger.hpp" + +#include // for move + +#include + +namespace gucc::logger { + +void set_logger(std::shared_ptr default_logger) noexcept { + spdlog::set_default_logger(std::move(default_logger)); +} + +} // namespace gucc::logger