Template Struct LogRecordSetterTrait

Struct Documentation

template<class ValueType>
struct LogRecordSetterTrait

Public Static Functions

template<class ArgumentType, nostd::enable_if_t<std::is_convertible<ArgumentType, nostd::string_view>::value || std::is_convertible<ArgumentType, common::AttributeValue>::value, void>* = nullptr>
static inline LogRecord *Set(LogRecord *log_record, ArgumentType &&arg) noexcept
template<class ArgumentType, nostd::enable_if_t<std::is_base_of<common::KeyValueIterable, ArgumentType>::value, bool>* = nullptr>
static inline LogRecord *Set(LogRecord *log_record, ArgumentType &&arg) noexcept
template<class ArgumentType, nostd::enable_if_t<common::detail::is_key_value_iterable<ArgumentType>::value, int>* = nullptr>
static inline LogRecord *Set(LogRecord *log_record, ArgumentType &&arg) noexcept