spdlog/tests/includes.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.0 KiB
C
Raw Permalink 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
#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
2018-03-09 21:26:33 +08:00
#include "utils.h"
#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>
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>
2019-06-04 21:35:34 +08:00
#include <iomanip>
2019-12-22 01:25:54 +08:00
#include <stdlib.h>
2016-04-20 16:57:49 +08:00
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG
2018-10-12 08:04:55 +08:00
#include "spdlog/spdlog.h"
2018-04-29 06:34:36 +08:00
#include "spdlog/async.h"
#include "spdlog/details/fmt_helper.h"
#include "spdlog/details/os.h"
#ifndef SPDLOG_NO_TLS
#include "spdlog/mdc.h"
#endif
2018-07-07 18:22:43 +08:00
#include "spdlog/sinks/basic_file_sink.h"
2018-04-29 06:34:36 +08:00
#include "spdlog/sinks/daily_file_sink.h"
#include "spdlog/sinks/null_sink.h"
#include "spdlog/sinks/ostream_sink.h"
2018-04-29 06:36:45 +08:00
#include "spdlog/sinks/rotating_file_sink.h"
#include "spdlog/sinks/stdout_color_sinks.h"
2022-12-10 06:25:31 +08:00
#include "spdlog/sinks/msvc_sink.h"
2022-09-30 19:20:15 +08:00
#include "spdlog/pattern_formatter.h"