mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 07:51:21 +00:00
13 lines
336 B
C++
13 lines
336 B
C++
#pragma once
|
|
|
|
#include <spdlog/spdlog.h> // IWYU pragma: export
|
|
|
|
namespace spdlog {
|
|
template <typename... Args>
|
|
[[noreturn]] inline void fatal(format_string_t<Args...> fmt, Args&&... args) {
|
|
default_logger_raw()->critical(fmt, std::forward<Args>(args)...);
|
|
default_logger_raw()->flush();
|
|
std::terminate();
|
|
}
|
|
} // namespace spdlog
|