text: #pragma once
  
  #include "Core.h"
  
  #pragma warning(push,0)
  #include <spdlog/spdlog.h>
  #include <spdlog/fmt/ostr.h>
  #pragma warning(pop)
  
  namespace Crystal {
  
  	class CRYSTAL_API Log
  	{
  	public:
  		static void Init();
  
  		inline static std::shared_ptr<spdlog::logger>& GetCoreLogger() { return s_CoreLogger; }
  		inline static std::shared_ptr<spdlog::logger>& GetClientLogger() { return s_ClientLogger; }
  	private:
  		static std::shared_ptr<spdlog::logger> s_CoreLogger;
  		static std::shared_ptr<spdlog::logger> s_ClientLogger;
  	};
  
  }
  
  // Core log macros
  #define CRYSTAL_CORE_TRACE(...) ::Crystal::Log::GetCoreLogger()->trace(__VA_ARGS__)
  #define CRYSTAL_CORE_INFO(...)  ::Crystal::Log::GetCoreLogger()->info(__VA_ARGS__)
  #define CRYSTAL_CORE_WARN(...)  ::Crystal::Log::GetCoreLogger()->warn(__VA_ARGS__)
  #define CRYSTAL_CORE_ERROR(...) ::Crystal::Log::GetCoreLogger()->error(__VA_ARGS__)
  #define CRYSTAL_CORE_FATAL(...) ::Crystal::Log::GetCoreLogger()->fatal(__VA_ARGS__)
  
  // Client log macros
  #define CRYSTAL_CLIENT_TRACE(...) ::Crystal::Log::GetClientLogger()->trace(__VA_ARGS__)
  #define CRYSTAL_CLIENT_INFO(...)  ::Crystal::Log::GetClientLogger()->info(__VA_ARGS__)
  #define CRYSTAL_CLIENT_WARN(...)  ::Crystal::Log::GetClientLogger()->warn(__VA_ARGS__)
  #define CRYSTAL_CLIENT_ERROR(...) ::Crystal::Log::GetClientLogger()->error(__VA_ARGS__)
  #define CRYSTAL_CLIENT_FATAL(...) ::Crystal::Log::GetClientLogger()->fatal(__VA_ARGS__)
  