LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
logit::MdbxLogger::Record Struct Reference

Public Member Functions

std::vector< uint8_t > to_bytes () const
 

Static Public Member Functions

static Record from_bytes (const void *data, size_t size)
 

Public Attributes

uint64_t session_id = 0
 
int64_t timestamp_ms = 0
 
uint32_t sequence = 0
 
LogLevel level = LogLevel::LOG_LVL_TRACE
 
std::string message
 
uint64_t payload_id = 0
 
std::string file
 
std::string function
 
int line = 0
 

Detailed Description

Definition at line 556 of file MdbxLogger.hpp.

Member Function Documentation

◆ from_bytes()

MdbxLogger::Record logit::MdbxLogger::Record::from_bytes ( const void * data,
size_t size )
inlinestatic

Definition at line 1125 of file MdbxLogger.hpp.

◆ to_bytes()

std::vector< uint8_t > logit::MdbxLogger::Record::to_bytes ( ) const
inline

Definition at line 1121 of file MdbxLogger.hpp.

Member Data Documentation

◆ file

std::string logit::MdbxLogger::Record::file

Definition at line 563 of file MdbxLogger.hpp.

◆ function

std::string logit::MdbxLogger::Record::function

Definition at line 564 of file MdbxLogger.hpp.

◆ level

LogLevel logit::MdbxLogger::Record::level = LogLevel::LOG_LVL_TRACE

Definition at line 560 of file MdbxLogger.hpp.

◆ line

int logit::MdbxLogger::Record::line = 0

Definition at line 565 of file MdbxLogger.hpp.

◆ message

std::string logit::MdbxLogger::Record::message

Definition at line 561 of file MdbxLogger.hpp.

◆ payload_id

uint64_t logit::MdbxLogger::Record::payload_id = 0

Definition at line 562 of file MdbxLogger.hpp.

◆ sequence

uint32_t logit::MdbxLogger::Record::sequence = 0

Definition at line 559 of file MdbxLogger.hpp.

◆ session_id

uint64_t logit::MdbxLogger::Record::session_id = 0

Definition at line 557 of file MdbxLogger.hpp.

◆ timestamp_ms

int64_t logit::MdbxLogger::Record::timestamp_ms = 0

Definition at line 558 of file MdbxLogger.hpp.


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