2016-04-20 11:57:49 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
2022-10-31 17:09:45 +02:00
|
|
|
#if defined(__GNUC__) && __GNUC__ == 12
|
|
|
|
|
#pragma GCC diagnostic push
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // Workaround for GCC 12
|
2022-09-30 13:20:15 +02:00
|
|
|
#endif
|
2023-03-01 12:51:04 +01:00
|
|
|
#include <catch2/catch_all.hpp>
|
2022-10-31 17:09:45 +02:00
|
|
|
#if defined(__GNUC__) && __GNUC__ == 12
|
|
|
|
|
#pragma GCC diagnostic pop
|
2022-09-30 13:20:15 +02:00
|
|
|
#endif
|
|
|
|
|
|
2018-03-09 15:26:33 +02:00
|
|
|
#include "utils.h"
|
|
|
|
|
#include <chrono>
|
2016-04-20 11:57:49 +03:00
|
|
|
#include <cstdio>
|
2018-03-09 15:26:33 +02:00
|
|
|
#include <exception>
|
2016-04-20 11:57:49 +03:00
|
|
|
#include <fstream>
|
2018-08-17 17:17:16 +03:00
|
|
|
#include <iostream>
|
2018-08-25 17:55:31 +03:00
|
|
|
#include <ostream>
|
2019-06-04 16:35:34 +03:00
|
|
|
#include <sstream>
|
2018-03-09 15:26:33 +02:00
|
|
|
#include <string>
|
2019-06-04 16:35:34 +03:00
|
|
|
#include <iomanip>
|
2019-12-21 19:25:54 +02:00
|
|
|
#include <stdlib.h>
|
2016-04-20 11:57:49 +03:00
|
|
|
|
2018-11-11 18:15:24 +02:00
|
|
|
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG
|
2017-10-13 02:04:31 +03:00
|
|
|
|
2018-10-12 03:04:55 +03:00
|
|
|
#include "spdlog/spdlog.h"
|
2018-04-29 01:34:36 +03:00
|
|
|
#include "spdlog/async.h"
|
2022-04-22 23:28:28 -04:00
|
|
|
#include "spdlog/details/fmt_helper.h"
|
2024-11-06 04:54:01 +08:00
|
|
|
#include "spdlog/details/os.h"
|
2024-09-13 03:27:25 +08:00
|
|
|
|
|
|
|
|
#ifndef SPDLOG_NO_TLS
|
|
|
|
|
#include "spdlog/mdc.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
2018-07-07 13:22:43 +03:00
|
|
|
#include "spdlog/sinks/basic_file_sink.h"
|
2018-04-29 01:34:36 +03:00
|
|
|
#include "spdlog/sinks/daily_file_sink.h"
|
|
|
|
|
#include "spdlog/sinks/null_sink.h"
|
|
|
|
|
#include "spdlog/sinks/ostream_sink.h"
|
2018-04-29 01:36:45 +03:00
|
|
|
#include "spdlog/sinks/rotating_file_sink.h"
|
|
|
|
|
#include "spdlog/sinks/stdout_color_sinks.h"
|
2022-12-10 00:25:31 +02:00
|
|
|
#include "spdlog/sinks/msvc_sink.h"
|
2022-09-30 13:20:15 +02:00
|
|
|
#include "spdlog/pattern_formatter.h"
|