utility 2026.1.9
A comprehensive C++ utilities library tailored for the development of modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
utility::logging::LogRecord Struct Reference

Structured log record carrying metadata for a single log entry. More...

#include <headers/utility/logging/logger.hpp>

Public Attributes

LogLevel level
 Severity level.
 
std::string message
 Log message content.
 
std::string timestamp
 Formatted timestamp string.
 
std::string loggerName
 Name of the logger that emitted the record.
 
std::string file
 Source file path.
 
int line = 0
 Source line number.
 
std::string function
 Function name.
 

Detailed Description

Structured log record carrying metadata for a single log entry.

Definition at line 77 of file logger.hpp.

Member Data Documentation

◆ file

std::string utility::logging::LogRecord::file

Source file path.

Definition at line 83 of file logger.hpp.

◆ function

std::string utility::logging::LogRecord::function

Function name.

Definition at line 85 of file logger.hpp.

◆ level

LogLevel utility::logging::LogRecord::level

Severity level.

Definition at line 78 of file logger.hpp.

◆ line

int utility::logging::LogRecord::line = 0

Source line number.

Definition at line 84 of file logger.hpp.

◆ loggerName

std::string utility::logging::LogRecord::loggerName

Name of the logger that emitted the record.

Definition at line 82 of file logger.hpp.

◆ message

std::string utility::logging::LogRecord::message

Log message content.

Definition at line 79 of file logger.hpp.

◆ timestamp

std::string utility::logging::LogRecord::timestamp

Formatted timestamp string.

Definition at line 80 of file logger.hpp.


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