RTI Connext C API  Version 6.0.1
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
NDDS_Config_LoggerDevice Struct Reference

<<interface>> Logging device interface. Use for user-defined logging devices. More...

Data Fields

NDDS_Config_LoggerDeviceWriteFnc write
 Write a log message to a specified logging device.
 
NDDS_Config_LoggerDeviceCloseFnc close
 Close the logging device.
 

Detailed Description

<<interface>> Logging device interface. Use for user-defined logging devices.

Interface for handling log messages.

By default, the logger sends the log messages generated by RTI Connext to the standard output.

You can use the function NDDS_Config_Logger_set_output_file to redirect the log messages to a file.

To further customize the management of generated log messages, the logger offers the function NDDS_Config_Logger_set_output_device that allows you to install a user-defined logging device.

The logging device installed by the user must implement this interface.

Note: It is not safe to make any calls to the RTI Connext core library, including calls to DDS_DomainParticipant_get_current_time, from any of the logging device operations.

Field Documentation

NDDS_Config_LoggerDeviceWriteFnc NDDS_Config_LoggerDevice::write

Write a log message to a specified logging device.

Note: It is not safe to make any calls to the RTI Connext core library, including calls to DDS_DomainParticipant_get_current_time, from any of the logging device operations.

NDDS_Config_LoggerDeviceCloseFnc NDDS_Config_LoggerDevice::close

Close the logging device.

Note: It is not safe to make any calls to the RTI Connext core library, including calls to DDS_DomainParticipant_get_current_time, from any of the logging device operations.


RTI Connext C API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc