6#ifndef SPDLOG_HEADER_ONLY
16#if __cplusplus >= 201703L
25 return level_string_views[l];
30 return short_level_names[l];
36 if (it !=
std::end(level_string_views))
53 : msg_(
std::move(msg))
59 fmt::format_system_error(outbuf, last_errno, msg.
c_str());
60 msg_ = fmt::to_string(outbuf);
const char * what() const SPDLOG_NOEXCEPT override
spdlog_ex(std::string msg)
static const char *short_level_names[] SPDLOG_SHORT_LEVEL_NAMES
SPDLOG_INLINE const string_view_t & to_string_view(spdlog::level::level_enum l) SPDLOG_NOEXCEPT
SPDLOG_INLINE spdlog::level::level_enum from_str(const std::string &name) SPDLOG_NOEXCEPT
static string_view_t level_string_views[] SPDLOG_LEVEL_NAMES
SPDLOG_INLINE const char * to_short_c_str(spdlog::level::level_enum l) SPDLOG_NOEXCEPT
fmt::basic_string_view< char > string_view_t
SPDLOG_INLINE void throw_spdlog_ex(const std::string &msg, int last_errno)
fmt::basic_memory_buffer< char, 250 > memory_buf_t