Livox SDK API  V2.2.0
spdlog::details::log_msg Struct Reference

#include <log_msg.h>

Public Member Functions

 log_msg (source_loc loc, const std::string *loggers_name, level::level_enum lvl, string_view_t view)
 
 log_msg (const std::string *loggers_name, level::level_enum lvl, string_view_t view)
 
 log_msg (const log_msg &other)=default
 

Public Attributes

const std::string * logger_name {nullptr}
 
level::level_enum level {level::off}
 
log_clock::time_point time
 
size_t thread_id {0}
 
size_t msg_id {0}
 
size_t color_range_start {0}
 
size_t color_range_end {0}
 
source_loc source
 
const string_view_t payload
 

Detailed Description

Definition at line 16 of file log_msg.h.

Constructor & Destructor Documentation

spdlog::details::log_msg::log_msg ( source_loc  loc,
const std::string *  loggers_name,
level::level_enum  lvl,
string_view_t  view 
)
inline

Definition at line 19 of file log_msg.h.

spdlog::details::log_msg::log_msg ( const std::string *  loggers_name,
level::level_enum  lvl,
string_view_t  view 
)
inline

Definition at line 34 of file log_msg.h.

spdlog::details::log_msg::log_msg ( const log_msg other)
default

Member Data Documentation

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

Definition at line 49 of file log_msg.h.

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

Definition at line 48 of file log_msg.h.

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

Definition at line 42 of file log_msg.h.

const std::string* spdlog::details::log_msg::logger_name {nullptr}

Definition at line 41 of file log_msg.h.

size_t spdlog::details::log_msg::msg_id {0}

Definition at line 45 of file log_msg.h.

const string_view_t spdlog::details::log_msg::payload

Definition at line 52 of file log_msg.h.

source_loc spdlog::details::log_msg::source

Definition at line 51 of file log_msg.h.

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

Definition at line 44 of file log_msg.h.

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

Definition at line 43 of file log_msg.h.


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