spdlog
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
spdlog::details::async_msg Struct Reference

Detailed Description

Definition at line 32 of file thread_pool.h.

#include <thread_pool.h>

Inheritance diagram for spdlog::details::async_msg:
[legend]

Public Member Functions

 async_msg ()=default
 
 ~async_msg ()=default
 
 async_msg (const async_msg &)=delete
 
 async_msg (async_msg &&)=default
 
async_msgoperator= (async_msg &&)=default
 
 async_msg (async_logger_ptr &&worker, async_msg_type the_type, const details::log_msg &m)
 
 async_msg (async_logger_ptr &&worker, async_msg_type the_type)
 
 async_msg (async_msg_type the_type)
 

Public Attributes

async_msg_type msg_type {async_msg_type::log}
 
async_logger_ptr worker_ptr
 
string_view_t logger_name
 
level::level_enum level {level::off}
 
log_clock::time_point time
 
size_t thread_id {0}
 
size_t color_range_start {0}
 
size_t color_range_end {0}
 
source_loc source
 
string_view_t payload
 

Private Member Functions

void update_string_views ()
 

Private Attributes

memory_buf_t buffer
 

Constructor & Destructor Documentation

◆ async_msg() [1/6]

spdlog::details::async_msg::async_msg ( )
default

◆ ~async_msg()

spdlog::details::async_msg::~async_msg ( )
default

◆ async_msg() [2/6]

spdlog::details::async_msg::async_msg ( const async_msg )
delete

◆ async_msg() [3/6]

spdlog::details::async_msg::async_msg ( async_msg &&  )
default

◆ async_msg() [4/6]

spdlog::details::async_msg::async_msg ( async_logger_ptr &&  worker,
async_msg_type  the_type,
const details::log_msg m 
)
inline

Definition at line 64 of file thread_pool.h.

◆ async_msg() [5/6]

spdlog::details::async_msg::async_msg ( async_logger_ptr &&  worker,
async_msg_type  the_type 
)
inline

Definition at line 70 of file thread_pool.h.

◆ async_msg() [6/6]

spdlog::details::async_msg::async_msg ( async_msg_type  the_type)
inlineexplicit

Definition at line 76 of file thread_pool.h.

Member Function Documentation

◆ operator=()

async_msg & spdlog::details::async_msg::operator= ( async_msg &&  )
default

◆ update_string_views()

SPDLOG_INLINE void spdlog::details::log_msg_buffer::update_string_views ( )
privateinherited

Definition at line 51 of file log_msg_buffer-inl.h.

Member Data Documentation

◆ buffer

memory_buf_t spdlog::details::log_msg_buffer::buffer
privateinherited

Definition at line 16 of file log_msg_buffer.h.

◆ color_range_end

size_t spdlog::details::log_msg::color_range_end {0}
mutableinherited

Definition at line 27 of file log_msg.h.

◆ color_range_start

size_t spdlog::details::log_msg::color_range_start {0}
mutableinherited

Definition at line 26 of file log_msg.h.

◆ level

level::level_enum spdlog::details::log_msg::level {level::off}
inherited

Definition at line 21 of file log_msg.h.

◆ logger_name

string_view_t spdlog::details::log_msg::logger_name
inherited

Definition at line 20 of file log_msg.h.

◆ msg_type

async_msg_type spdlog::details::async_msg::msg_type {async_msg_type::log}

Definition at line 34 of file thread_pool.h.

◆ payload

string_view_t spdlog::details::log_msg::payload
inherited

Definition at line 30 of file log_msg.h.

◆ source

source_loc spdlog::details::log_msg::source
inherited

Definition at line 29 of file log_msg.h.

◆ thread_id

size_t spdlog::details::log_msg::thread_id {0}
inherited

Definition at line 23 of file log_msg.h.

◆ time

log_clock::time_point spdlog::details::log_msg::time
inherited

Definition at line 22 of file log_msg.h.

◆ worker_ptr

async_logger_ptr spdlog::details::async_msg::worker_ptr

Definition at line 35 of file thread_pool.h.


The documentation for this struct was generated from the following file: