spdlog.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright (c) 2017-2023 zhllxt
  3. *
  4. * author : zhllxt
  5. * email : 37792738@qq.com
  6. *
  7. * Distributed under the Boost Software License, Version 1.0. (See accompanying
  8. * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  9. */
  10. #ifndef __ASIO2_SPDLOG_HPP__
  11. #define __ASIO2_SPDLOG_HPP__
  12. #if defined(_MSC_VER) && (_MSC_VER >= 1200)
  13. #pragma once
  14. #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
  15. #include <asio2/base/detail/push_options.hpp>
  16. #ifndef ASIO2_DISABLE_AUTO_HEADER_ONLY
  17. #ifndef SPDLOG_HEADER_ONLY
  18. #define SPDLOG_HEADER_ONLY
  19. #endif
  20. #endif
  21. #include <spdlog/spdlog.h>
  22. #include <spdlog/async.h>
  23. #include <spdlog/pattern_formatter.h>
  24. #include <spdlog/stopwatch.h>
  25. #include <spdlog/sinks/basic_file_sink.h>
  26. #include <spdlog/sinks/daily_file_sink.h>
  27. #include <spdlog/sinks/hourly_file_sink.h>
  28. #include <spdlog/sinks/rotating_file_sink.h>
  29. #include <spdlog/sinks/stdout_color_sinks.h>
  30. #include <spdlog/sinks/stdout_sinks.h>
  31. #include <spdlog/fmt/fmt.h>
  32. #include <spdlog/fmt/bin_to_hex.h>
  33. #include <spdlog/fmt/chrono.h>
  34. #include <spdlog/fmt/compile.h>
  35. #include <spdlog/fmt/ostr.h>
  36. #include <spdlog/fmt/ranges.h>
  37. #include <spdlog/fmt/xchar.h>
  38. #include <asio2/base/detail/pop_options.hpp>
  39. #endif // !__ASIO2_SPDLOG_HPP__