spdlog/tests/includes.h

34 lines
761 B
C
Raw Normal View History

2016-04-20 16:57:49 +08:00
#pragma once
2022-10-31 23:09:45 +08:00
#if defined(__GNUC__) && __GNUC__ == 12
#pragma GCC diagnostic push
2023-09-25 21:40:05 +08:00
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // Workaround for GCC 12
2022-09-30 19:20:15 +08:00
#endif
#include <catch2/catch_all.hpp>
2022-10-31 23:09:45 +08:00
#if defined(__GNUC__) && __GNUC__ == 12
#pragma GCC diagnostic pop
2022-09-30 19:20:15 +08:00
#endif
2023-09-29 05:20:26 +08:00
#include <stdlib.h>
2018-03-09 21:26:33 +08:00
#include <chrono>
2016-04-20 16:57:49 +08:00
#include <cstdio>
2018-03-09 21:26:33 +08:00
#include <exception>
2016-04-20 16:57:49 +08:00
#include <fstream>
2023-09-29 05:20:26 +08:00
#include <iomanip>
2018-08-17 22:17:16 +08:00
#include <iostream>
2018-08-25 22:55:31 +08:00
#include <ostream>
2019-06-04 21:35:34 +08:00
#include <sstream>
2018-03-09 21:26:33 +08:00
#include <string>
2023-09-29 05:20:26 +08:00
#include "utils.h"
2016-04-20 16:57:49 +08:00
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG
2018-04-29 06:34:36 +08:00
#include "spdlog/async.h"
#include "spdlog/details/fmt_helper.h"
2023-09-29 05:20:26 +08:00
#include "spdlog/pattern_formatter.h"
2018-04-29 06:34:36 +08:00
#include "spdlog/sinks/null_sink.h"
2018-04-29 06:36:45 +08:00
#include "spdlog/sinks/stdout_color_sinks.h"
2023-09-29 05:20:26 +08:00
#include "spdlog/spdlog.h"