RTI Connext Modern C++ API Version 7.3.0
rti::config::LogMessage Struct Reference

A log message, including the text and additional information. More...

#include <rti/config/Logger.hpp>

Public Attributes

LogLevel level
 The log level of this message. More...
 
const char * text
 The text of this message. More...
 
bool is_security_message
 Indicates if the message is a security-related message. More...
 
unsigned int message_id
 A numeric code that identifies a specific log message. More...
 
dds::core::Duration timestamp
 The time when the log message was printed. More...
 
LogFacility facility
 The Facility associated with the log message. More...
 

Detailed Description

A log message, including the text and additional information.

This struct passed to the handler set in Logger::output_handler().

Member Data Documentation

◆ level

LogLevel rti::config::LogMessage::level

The log level of this message.

◆ text

const char* rti::config::LogMessage::text

The text of this message.

◆ is_security_message

bool rti::config::LogMessage::is_security_message

Indicates if the message is a security-related message.

A "security-related message" is a log message that meets any of the following:

  • A security event logged with the RTI Security Plugins Logging Plugin.
  • Any regular message coming from the RTI Security Plugins.
  • RTI TLS Support log messages related to OpenSSL (e.g., SSL handshake failures or certificate validation failures).

◆ message_id

unsigned int rti::config::LogMessage::message_id

A numeric code that identifies a specific log message.

◆ timestamp

dds::core::Duration rti::config::LogMessage::timestamp

The time when the log message was printed.

◆ facility

LogFacility rti::config::LogMessage::facility

The Facility associated with the log message.

See also
LogFacility