spdlog
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
spdlog::details Namespace Reference

Namespaces

namespace  fmt_helper
 
namespace  os
 

Classes

class  a_formatter
 
class  A_formatter
 
class  aggregate_formatter
 
struct  async_msg
 
class  b_formatter
 
class  B_formatter
 
class  backtracer
 
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
 
class  d_formatter
 
class  D_formatter
 
class  dump_info
 
class  E_formatter
 
class  e_formatter
 
class  elapsed_formatter
 
class  F_formatter
 
class  f_formatter
 
class  file_helper
 
class  flag_formatter
 
class  full_formatter
 
class  H_formatter
 
class  I_formatter
 
class  level_formatter
 
struct  log_msg
 
class  log_msg_buffer
 
class  m_formatter
 
class  M_formatter
 
class  mpmc_blocking_queue
 
class  name_formatter
 
struct  null_atomic_int
 
struct  null_mutex
 
struct  null_scoped_padder
 
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_padder
 
class  short_filename_formatter
 
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  tcp_client
 
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 class  async_msg_type {
  log ,
  flush ,
  terminate
}
 

Functions

template<typename T , typename... Args>
std::unique_ptr< Tmake_unique (Args &&...args)
 
static const charampm (const tm &t)
 
static int to12h (const tm &t)
 

Variables

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

Typedef Documentation

◆ async_logger_ptr

Definition at line 21 of file thread_pool.h.

Enumeration Type Documentation

◆ async_msg_type

Enumerator
log 
flush 
terminate 

Definition at line 23 of file thread_pool.h.

Function Documentation

◆ ampm()

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

Definition at line 159 of file pattern_formatter-inl.h.

◆ make_unique()

template<typename T , typename... Args>
std::unique_ptr< T > spdlog::details::make_unique ( Args &&...  args)

Definition at line 265 of file common.h.

◆ to12h()

static int spdlog::details::to12h ( const tm &  t)
static

Definition at line 164 of file pattern_formatter-inl.h.

Variable Documentation

◆ days

std::array<const char *, 7> spdlog::details::days {{"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}}
static

Definition at line 170 of file pattern_formatter-inl.h.

◆ default_async_q_size

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

Definition at line 28 of file async.h.

◆ full_days

std::array<const char *, 7> spdlog::details::full_days {{"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}}
static

Definition at line 189 of file pattern_formatter-inl.h.

◆ full_months

const std::array<const char *, 12> spdlog::details::full_months
static
Initial value:
{
{"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}}

Definition at line 227 of file pattern_formatter-inl.h.

◆ months

const std::array<const char *, 12> spdlog::details::months {{"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec"}}
static

Definition at line 208 of file pattern_formatter-inl.h.