RTI Connext .Net APIs
Version 5.2.0
|
<<interface>> Logging device interface. Use for user-defined logging devices. More...
#include <managed_config_dotnet.h>
Public Member Functions | |
virtual void | write (LogMessage^ msg) |
Write a log message to a specified logging device. | |
virtual void | close () |
Close the logging device. | |
<<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 method ::NDDS::ConfigLogger::set_output_file to redirect the log messages to a file.
To further customize the management of generated log messages, the logger offers the method ::NDDS::ConfigLogger::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.
|
inlinevirtual |
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.
message | <<in>> Message to log. |
|
inlinevirtual |
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.