Livox SDK API  V2.2.0
spdlog::details::fmt_helper Namespace Reference

Functions

template<size_t Buffer_Size>
spdlog::string_view_t to_string_view (const fmt::basic_memory_buffer< char, Buffer_Size > &buf) SPDLOG_NOEXCEPT
 
template<size_t Buffer_Size1, size_t Buffer_Size2>
void append_buf (const fmt::basic_memory_buffer< char, Buffer_Size1 > &buf, fmt::basic_memory_buffer< char, Buffer_Size2 > &dest)
 
template<size_t Buffer_Size>
void append_string_view (spdlog::string_view_t view, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T , size_t Buffer_Size>
void append_int (T n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T >
unsigned count_digits (T n)
 
template<size_t Buffer_Size>
void pad2 (int n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T , size_t Buffer_Size>
void pad_uint (T n, unsigned int width, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T , size_t Buffer_Size>
void pad3 (T n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T , size_t Buffer_Size>
void pad6 (T n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T , size_t Buffer_Size>
void pad9 (T n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename ToDuration >
ToDuration time_fraction (const log_clock::time_point &tp)
 

Function Documentation

template<size_t Buffer_Size1, size_t Buffer_Size2>
void spdlog::details::fmt_helper::append_buf ( const fmt::basic_memory_buffer< char, Buffer_Size1 > &  buf,
fmt::basic_memory_buffer< char, Buffer_Size2 > &  dest 
)
inline

Definition at line 23 of file fmt_helper.h.

template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::append_int ( n,
fmt::basic_memory_buffer< char, Buffer_Size > &  dest 
)
inline

Definition at line 40 of file fmt_helper.h.

template<size_t Buffer_Size>
void spdlog::details::fmt_helper::append_string_view ( spdlog::string_view_t  view,
fmt::basic_memory_buffer< char, Buffer_Size > &  dest 
)
inline

Definition at line 30 of file fmt_helper.h.

template<typename T >
unsigned spdlog::details::fmt_helper::count_digits ( n)
inline

Definition at line 47 of file fmt_helper.h.

template<size_t Buffer_Size>
void spdlog::details::fmt_helper::pad2 ( int  n,
fmt::basic_memory_buffer< char, Buffer_Size > &  dest 
)
inline

Definition at line 54 of file fmt_helper.h.

template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::pad3 ( n,
fmt::basic_memory_buffer< char, Buffer_Size > &  dest 
)
inline

Definition at line 90 of file fmt_helper.h.

template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::pad6 ( n,
fmt::basic_memory_buffer< char, Buffer_Size > &  dest 
)
inline

Definition at line 96 of file fmt_helper.h.

template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::pad9 ( n,
fmt::basic_memory_buffer< char, Buffer_Size > &  dest 
)
inline

Definition at line 102 of file fmt_helper.h.

template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::pad_uint ( n,
unsigned int  width,
fmt::basic_memory_buffer< char, Buffer_Size > &  dest 
)
inline

Definition at line 77 of file fmt_helper.h.

template<typename ToDuration >
ToDuration spdlog::details::fmt_helper::time_fraction ( const log_clock::time_point &  tp)
inline

Definition at line 111 of file fmt_helper.h.

template<size_t Buffer_Size>
spdlog::string_view_t spdlog::details::fmt_helper::to_string_view ( const fmt::basic_memory_buffer< char, Buffer_Size > &  buf)
inline

Definition at line 17 of file fmt_helper.h.