17 #ifdef OGS_FATAL_ABORT
18 #define OGS_FATAL(...) \
20 BaseLib::console->critical("{}:{} {}() ", __FILE__, __LINE__, \
21 __FUNCTION__, fmt::format(__VA_ARGS__)); \
26 #define OGS_FATAL(...) \
28 BaseLib::console->critical("{}:{} {}() ", __FILE__, __LINE__, \
29 __FUNCTION__, fmt::format(__VA_ARGS__)); \
30 throw std::runtime_error(fmt::format(__VA_ARGS__)); \