Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
spdlog::details Namespace Reference

Namespaces

 fmt_helper
 
 os
 

Classes

class  a_formatter
 
class  A_formatter
 
class  aggregate_formatter
 
struct  async_msg
 
class  b_formatter
 
class  B_formatter
 
class  bytes_range
 
class  c_formatter
 
class  C_formatter
 
class  ch_formatter
 
class  circular_q
 
class  color_start_formatter
 
class  color_stop_formatter
 
struct  console_mutex
 
struct  console_nullmutex
 
struct  console_stderr
 
struct  console_stdout
 
class  D_formatter
 
class  d_formatter
 
class  E_formatter
 
class  e_formatter
 
class  f_formatter
 
class  F_formatter
 
class  file_helper
 
class  flag_formatter
 
class  full_formatter
 
class  H_formatter
 
class  i_formatter
 
class  I_formatter
 
class  level_formatter
 
struct  log_msg
 
class  m_formatter
 
class  M_formatter
 
class  mpmc_blocking_queue
 
class  name_formatter
 
struct  null_atomic_int
 
struct  null_mutex
 
class  p_formatter
 
struct  padding_info
 
class  periodic_worker
 
class  pid_formatter
 
class  R_formatter
 
class  r_formatter
 
class  registry
 
class  S_formatter
 
class  scoped_pad
 
class  short_level_formatter
 
class  source_filename_formatter
 
class  source_funcname_formatter
 
class  source_linenum_formatter
 
class  source_location_formatter
 
class  T_formatter
 
class  t_formatter
 
class  thread_pool
 
class  v_formatter
 
class  Y_formatter
 
class  z_formatter
 

Typedefs

using async_logger_ptr = std::shared_ptr< spdlog::async_logger >
 

Enumerations

enum  async_msg_type { async_msg_type::log, async_msg_type::flush, async_msg_type::terminate }
 

Functions

template<typename T , typename... Args>
std::unique_ptr< T > make_unique (Args &&...args)
 
static const char * ampm (const tm &t)
 
static int to12h (const tm &t)
 

Variables

static const size_t default_async_q_size = 8192
 
static const char * days [] {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}
 
static const char * full_days [] {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}
 
static const char * months [] {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec"}
 
static const char * full_months []
 

Typedef Documentation

using spdlog::details::async_logger_ptr = typedef std::shared_ptr<spdlog::async_logger>

Definition at line 16 of file thread_pool.h.

Enumeration Type Documentation

Enumerator
log 
flush 
terminate 

Definition at line 18 of file thread_pool.h.

19 {
20  log,
21  flush,
22  terminate
23 };
QTextStream & flush(QTextStream &s)
void log(source_loc source, level::level_enum lvl, const char *fmt, const Args &...args)
Definition: spdlog.h:165

Function Documentation

static const char* spdlog::details::ampm ( const tm &  t)
static

Definition at line 196 of file pattern_formatter.h.

197 {
198  return t.tm_hour >= 12 ? "PM" : "AM";
199 }
template<typename T , typename... Args>
std::unique_ptr<T> spdlog::details::make_unique ( Args &&...  args)

Definition at line 236 of file common.h.

237 {
238  static_assert(!std::is_array<T>::value, "arrays not supported");
239  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
240 }
static QCString args
Definition: declinfo.cpp:674
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
static int spdlog::details::to12h ( const tm &  t)
static

Definition at line 201 of file pattern_formatter.h.

202 {
203  return t.tm_hour > 12 ? t.tm_hour - 12 : t.tm_hour;
204 }

Variable Documentation

const char* spdlog::details::days[] {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}
static

Definition at line 207 of file pattern_formatter.h.

const size_t spdlog::details::default_async_q_size = 8192
static

Definition at line 30 of file async.h.

const char* spdlog::details::full_days[] {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}
static

Definition at line 225 of file pattern_formatter.h.

const char* spdlog::details::full_months[]
static
Initial value:
{
"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}

Definition at line 261 of file pattern_formatter.h.

const char* spdlog::details::months[] {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec"}
static

Definition at line 243 of file pattern_formatter.h.