unilink  0.4.3
A simple C++ library for unified async communication
unilink::diagnostics::LogEntry Struct Reference

Log entry structure for async processing. More...

#include <logger.hpp>

Public Member Functions

 LogEntry ()
 
 LogEntry (LogLevel lvl, std::string_view comp, std::string_view op, std::string_view msg)
 

Public Attributes

std::chrono::system_clock::time_point timestamp
 
LogLevel level
 
std::string component
 
std::string operation
 
std::string message
 
std::string formatted_message
 

Detailed Description

Log entry structure for async processing.

Definition at line 65 of file logger.hpp.

Constructor & Destructor Documentation

◆ LogEntry() [1/2]

unilink::diagnostics::LogEntry::LogEntry ( )
inline

Definition at line 73 of file logger.hpp.

◆ LogEntry() [2/2]

unilink::diagnostics::LogEntry::LogEntry ( LogLevel  lvl,
std::string_view  comp,
std::string_view  op,
std::string_view  msg 
)
inline

Definition at line 75 of file logger.hpp.

Member Data Documentation

◆ component

std::string unilink::diagnostics::LogEntry::component

Definition at line 68 of file logger.hpp.

◆ formatted_message

std::string unilink::diagnostics::LogEntry::formatted_message

Definition at line 71 of file logger.hpp.

◆ level

LogLevel unilink::diagnostics::LogEntry::level

Definition at line 67 of file logger.hpp.

◆ message

std::string unilink::diagnostics::LogEntry::message

Definition at line 70 of file logger.hpp.

◆ operation

std::string unilink::diagnostics::LogEntry::operation

Definition at line 69 of file logger.hpp.

◆ timestamp

std::chrono::system_clock::time_point unilink::diagnostics::LogEntry::timestamp

Definition at line 66 of file logger.hpp.


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