1 | #pragma once |
---|---|
2 | |
3 | #if defined(__GNUC__) && __GNUC__ == 12 |
4 | # pragma GCC diagnostic push |
5 | # pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // Workaround for GCC 12 |
6 | #endif |
7 | #include "catch.hpp" |
8 | #if defined(__GNUC__) && __GNUC__ == 12 |
9 | # pragma GCC diagnostic pop |
10 | #endif |
11 | |
12 | #include "utils.h" |
13 | #include <chrono> |
14 | #include <cstdio> |
15 | #include <exception> |
16 | #include <fstream> |
17 | #include <iostream> |
18 | #include <ostream> |
19 | #include <sstream> |
20 | #include <string> |
21 | #include <iomanip> |
22 | #include <stdlib.h> |
23 | |
24 | #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG |
25 | |
26 | #include "spdlog/spdlog.h" |
27 | #include "spdlog/async.h" |
28 | #include "spdlog/details/fmt_helper.h" |
29 | #include "spdlog/sinks/basic_file_sink.h" |
30 | #include "spdlog/sinks/daily_file_sink.h" |
31 | #include "spdlog/sinks/null_sink.h" |
32 | #include "spdlog/sinks/ostream_sink.h" |
33 | #include "spdlog/sinks/rotating_file_sink.h" |
34 | #include "spdlog/sinks/stdout_color_sinks.h" |
35 | #include "spdlog/pattern_formatter.h" |
36 |