|
NeoN
A framework for CFD software
|
#include <logging.hpp>
Public Member Functions | |
| FatalFormat (const char *f, std::source_location l=std::source_location::current()) | |
| FatalFormat (std::string_view f, std::source_location l=std::source_location::current()) | |
| FatalFormat (const std::string &f, std::source_location l=std::source_location::current()) | |
Public Attributes | |
| std::string_view | fmt |
| std::source_location | loc |
Wraps a format string with the call-site source location. The default source_location argument is evaluated where the implicit conversion from the format string happens — i.e. at the error() call site — so error() captures the caller's file/line without an explicit argument.
Definition at line 148 of file logging.hpp.
|
inline |
Definition at line 152 of file logging.hpp.
|
inline |
Definition at line 155 of file logging.hpp.
|
inline |
Definition at line 158 of file logging.hpp.
| std::string_view NeoN::Logging::detail::FatalFormat::fmt |
Definition at line 150 of file logging.hpp.
| std::source_location NeoN::Logging::detail::FatalFormat::loc |
Definition at line 151 of file logging.hpp.