logger.hpp 450 B

123456789101112131415161718192021
  1. #pragma once
  2. #include <filesystem>
  3. #include "spdlog/spdlog.h"
  4. #include "spdlog/sinks/basic_file_sink.h"
  5. #include "spdlog/sinks/stdout_color_sinks.h"
  6. #include "spdlog/fmt/bundled/color.h"
  7. namespace AEngineEditor
  8. {
  9. namespace fmt = spdlog::fmt_lib;
  10. void initizlize_loggers(const std::filesystem::path& logdir);
  11. std::shared_ptr<spdlog::logger> app_logger();
  12. std::shared_ptr<spdlog::logger> plugin_manager_logger();
  13. } // namespace aengine_test_app