#pragma once #include #include // NOLINTNEXTLINE namespace Debug { template void die(std::format_string fmt, Args&&... args) { const std::string logMsg = std::vformat(fmt.get(), std::make_format_args(args...)); std::cout << "\n[ERR] " << logMsg << "\n"; exit(1); } };