Go to the documentation of this file.
9 #ifndef EAGINE_LOGGING_TYPE_EXCEPTION_HPP
10 #define EAGINE_LOGGING_TYPE_EXCEPTION_HPP
12 #include "../entry.hpp"
18 adapt_log_entry_arg(
identifier name,
const std::exception& value) {
19 return [name, value](logger_backend& backend) {
26 adapt_log_entry_arg(
identifier name,
const std::runtime_error& value) {
27 return [name, value](logger_backend& backend) {
34 adapt_log_entry_arg(
identifier name,
const std::system_error& value) {
35 return [name, value](logger_backend& backend) {
47 #endif // EAGINE_LOGGING_TYPE_EXCEPTION_HPP
basic_string_span< const char > string_view
Alias for const string views.
Definition: string_span.hpp:116
#define EAGINE_ID(NAME)
Macro for constructing instances of eagine::identifier.
Definition: identifier.hpp:353
Common code is placed in this namespace.
Definition: eagine.hpp:21
basic_identifier< 10, 6, default_identifier_char_set, identifier_t > identifier
Default identifier type used throughout the project.
Definition: identifier.hpp:346