Agora
1.2.0
Agora project
|
Go to the documentation of this file.
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))
58 #ifdef SPDLOG_USE_STD_FORMAT
const SPDLOG_INLINE string_view_t & to_string_view(spdlog::level::level_enum l) SPDLOG_NOEXCEPT
Definition: common-inl.h:23
#define SPDLOG_NOEXCEPT
Definition: common.h:64
@ off
Definition: common.h:219
@ warn
Definition: common.h:216
static string_view_t level_string_views[] SPDLOG_LEVEL_NAMES
Definition: common-inl.h:19
level_enum
Definition: common.h:211
@ err
Definition: common.h:217
SPDLOG_INLINE spdlog::level::level_enum from_str(const std::string &name) SPDLOG_NOEXCEPT
Definition: common-inl.h:33
auto find(Ptr first, Ptr last, T value, Ptr &out) -> bool
Definition: core.h:2258
SPDLOG_INLINE void throw_spdlog_ex(const std::string &msg, int last_errno)
Definition: common-inl.h:72
const SPDLOG_INLINE char * to_short_c_str(spdlog::level::level_enum l) SPDLOG_NOEXCEPT
Definition: common-inl.h:28
const char * what() const noexcept override
Definition: common-inl.h:67
auto to_string(const T &value) -> std::string
Definition: format.h:2882
std::string msg_
Definition: common.h:284
#define SPDLOG_INLINE
Definition: common.h:42
#define SPDLOG_THROW(ex)
Definition: common.h:103
auto system_error(int error_code, format_string< T... > fmt, T &&... args) -> std::system_error
Definition: format.h:2471
Definition: json.hpp:5213
spdlog_ex(std::string msg)
Definition: common-inl.h:52
l
Definition: parse_all_dl.m:71
void format_system_error(detail::buffer< char > &out, int error_code, const char *message)
Definition: format-inl.h:2562
static const char *short_level_names[] SPDLOG_SHORT_LEVEL_NAMES
Definition: common-inl.h:21