Livox SDK API  V2.2.0
fmt_helper.h File Reference
#include <chrono>
#include <type_traits>
#include "spdlog/fmt/fmt.h"

Go to the source code of this file.

Namespaces

 spdlog
 
 spdlog::details
 
 spdlog::details::fmt_helper
 

Functions

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) SPDLOG_NOEXCEPT
 
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)
 
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)
 
template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::append_int (T n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T >
unsigned spdlog::details::fmt_helper::count_digits (T n)
 
template<size_t Buffer_Size>
void spdlog::details::fmt_helper::pad2 (int n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::pad_uint (T n, unsigned int width, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::pad3 (T n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::pad6 (T n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename T , size_t Buffer_Size>
void spdlog::details::fmt_helper::pad9 (T n, fmt::basic_memory_buffer< char, Buffer_Size > &dest)
 
template<typename ToDuration >
ToDuration spdlog::details::fmt_helper::time_fraction (const log_clock::time_point &tp)