quill
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
detail::TransitEvent Struct Reference
Collaboration diagram for detail::TransitEvent:
Collaboration graph
[legend]

Classes

struct  ExtraData
 
struct  RuntimeMetadata
 

Public Types

using FormatBuffer = fmtquill::basic_memory_buffer< char, 88 >
 

Public Member Functions

 TransitEvent (TransitEvent const &other)=delete
 Copy constructor and assignment operator are deleted to prevent accidental copying.
 
TransitEventoperator= (TransitEvent const &other)=delete
 
 TransitEvent (TransitEvent &&other) noexcept
 
TransitEventoperator= (TransitEvent &&other) noexcept
 
void copy_to (TransitEvent &other) const
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT LogLevel log_level () const noexcept
 
QUILL_NODISCARD QUILL_ATTRIBUTE_HOT std::vector< std::pair< std::string, std::string > > * get_named_args () const noexcept
 
QUILL_ATTRIBUTE_HOT void ensure_extra_data () noexcept
 

Public Attributes

uint64_t timestamp {0}
 
MacroMetadata const * macro_metadata {nullptr}
 
LoggerBaselogger_base {nullptr}
 
std::unique_ptr< FormatBuffer > formatted_msg {std::make_unique<FormatBuffer>()}
 
std::unique_ptr< ExtraDataextra_data
 buffer for message
 
std::atomic< bool > * flush_flag {nullptr}
 A unique ptr to save space as these fields not always used.
 

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