diff options
| author | Stefan Boberg <[email protected]> | 2025-10-24 10:19:24 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-10-24 10:19:24 +0200 |
| commit | 0e21e0d57a5da36f2a4fbbd315254b22cd2fbf00 (patch) | |
| tree | be7c96101bf9c91615f04412c7bafe156a3d6ac8 /thirdparty/spdlog/tests/includes.h | |
| parent | changelog (diff) | |
| download | zen-0e21e0d57a5da36f2a4fbbd315254b22cd2fbf00.tar.xz zen-0e21e0d57a5da36f2a4fbbd315254b22cd2fbf00.zip | |
in-tree spdlog (#602)
move spdlog into the tree to remove dependency on vcpkg::spdlog, to allow diverging from the official version and evolve it to fit better with OTLP logging requirements
Diffstat (limited to 'thirdparty/spdlog/tests/includes.h')
| -rw-r--r-- | thirdparty/spdlog/tests/includes.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/thirdparty/spdlog/tests/includes.h b/thirdparty/spdlog/tests/includes.h new file mode 100644 index 000000000..2e49a5cb7 --- /dev/null +++ b/thirdparty/spdlog/tests/includes.h @@ -0,0 +1,42 @@ +#pragma once + +#if defined(__GNUC__) && __GNUC__ == 12 + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // Workaround for GCC 12 +#endif +#include <catch2/catch_all.hpp> +#if defined(__GNUC__) && __GNUC__ == 12 + #pragma GCC diagnostic pop +#endif + +#include "utils.h" +#include <chrono> +#include <cstdio> +#include <exception> +#include <fstream> +#include <iostream> +#include <ostream> +#include <sstream> +#include <string> +#include <iomanip> +#include <stdlib.h> + +#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG + +#include "spdlog/spdlog.h" +#include "spdlog/async.h" +#include "spdlog/details/fmt_helper.h" +#include "spdlog/details/os.h" + +#ifndef SPDLOG_NO_TLS + #include "spdlog/mdc.h" +#endif + +#include "spdlog/sinks/basic_file_sink.h" +#include "spdlog/sinks/daily_file_sink.h" +#include "spdlog/sinks/null_sink.h" +#include "spdlog/sinks/ostream_sink.h" +#include "spdlog/sinks/rotating_file_sink.h" +#include "spdlog/sinks/stdout_color_sinks.h" +#include "spdlog/sinks/msvc_sink.h" +#include "spdlog/pattern_formatter.h" |