18#include "rti_dl/rti_dl_dll_cpp.h"
19#include "rti_dl/rti_dl_c.h"
21#include "dds_cpp/dds_cpp_domain.h"
553 NDDS_Config_LogVerbosity verbosity);
631 void info(
const char *message);
662 void log(
int logLevel,
const char *message);
This class contains RTI Distributed Logger singleton and the methods to configure and use it.
Definition: rti_dl_cpp.h:387
DDS_Long getInfoLogLevel()
Return Info log level.
void log(int logLevel, const char *message)
Logs a message.
void logMessageWithLevelCategory(int logLevel, const char *message, const char *category)
Logs a message at the specified level and with the specified category.
DDS_Long getDebugLogLevel()
Return Debug log level.
DDS_ReturnCode_t setFilterLevel(DDS_Long newLevel)
Sets the filter level for the singleton.
DDS_Long getFatalLogLevel()
Return Fatal log level.
void setRTILoggerVerbosityByCategory(NDDS_Config_LogCategory category, NDDS_Config_LogVerbosity verbosity)
Updates the LogCategory and the LogVerbosity in RTI Logger to the provided value.
static bool setOptions(RTI_DLOptions &options)
Assigns configurable options to RTI Distributed Logger before its creation.
void finalizeInstance()
Finalizes and delete the RTI_DL_DistLogger singleton.
bool setRTILoggerPrintFormat(NDDS_Config_LogPrintFormat logPrintFormat)
Sets PrintFormat of RTI Logger to the provided value.
void debug(const char *message)
Logs a debug message.
void fatal(const char *message)
Logs a fatal message.
void logMessageWithParams(const struct RTI_DL_DistLogger_MessageParams ¶ms)
Performs the same function as logMessageWithLevelCategory except that it also allows specification of...
void trace(const char *message)
Logs a trace message.
DDS_Long getNoticeLogLevel()
Return Notice log level.
void notice(const char *message)
Logs a notice message.
void error(const char *message)
Logs a error message.
DDS_Long getErrorLogLevel()
Return Error log level.
static RTI_DLDistLogger * getInstance()
Provides access to the RTI_DL_DistLogger singleton.
DDS_Long getWarningLogLevel()
Return Warning log level.
void info(const char *message)
Logs a info message.
void severe(const char *message)
Logs a severe message.
void warning(const char *message)
Logs a warning message.
This class contains RTI Distributed Logger configurable options.
Definition: rti_dl_cpp.h:35
char * getApplicationKind()
Gets the application kind that will be associated with RTI Distributed Logger.
DDS_ReturnCode_t setDomainId(int domainId)
Sets the current Domain ID.
DDS_ReturnCode_t setQueueSize(int queueSize)
Sets the maximum queue size that will be assigned to RTI Distributed Logger.
int getFilterLevel()
Gets the log filter level.
DDS_DomainParticipant * getCDomainParticipantI()
Gets current C DomainParticipant.
DDS_ReturnCode_t setApplicationKind(const char *applicationKind)
Sets the application kind that will be associated with RTI Distributed Logger.
char * getQosLibrary()
Gets the Qos Library that will be used to create to RTI Distributed Logger.
DDS_ReturnCode_t setFilterLevel(int filterLevel)
Sets the log filter level.
DDS_ReturnCode_t setThreadSettings(const struct DDS_ThreadSettings_t *threadSettings)
Sets the settings of the publishing thread that will be created by RTI Distributed Logger.
bool isRemoteAdministrationEnabled()
Sets current DomainParticipant.
char * getQosProfile()
Gets the Qos Profile that will be used to create to RTI Distributed Logger.
int getQueueSize()
Gets the maximum queue size that will be assigned to RTI Distributed Logger.
bool getLogInfrastructureMessages()
Indicates whether Distributed Logger should also log all messages produced by infrastructure code aut...
DDS_ReturnCode_t setEchoToStdout(bool echoToStdout)
Sets the value of echoToStdout.
bool getEchoToStdout()
Gets the current value of echoToStdout.
DDS_ReturnCode_t setRemoteAdministrationEnabled(bool enabled)
Enables or disables remote administration.
DDS_ReturnCode_t setLogInfrastructureMessages(bool log)
Enables or disables automatic logging of infrastructure messages.
~RTI_DLOptions()
Default destructor.
DDS_ReturnCode_t setDomainParticipant(DDSDomainParticipant *domainParticipant)
Sets current DomainParticipant.
DDS_ReturnCode_t setQosLibrary(const char *qosLibrary)
Sets the Qos Library that will be used to create to RTI Distributed Logger.
struct DDS_ThreadSettings_t * getThreadSettings()
Get the thread settings of the publishing threadthat will be created by RTI Distributed Logger.
RTI_DLOptions()
Default constructor.
int getDomainId()
Gets the current Domain ID.
DDS_ReturnCode_t setQosProfile(const char *qosProfile)
Sets the Qos Profile that will be used to create to RTI Distributed Logger.
Commodity functions for using RTI Distributed Logger.
Definition: rti_dl_cpp.h:356
static void sleep(int msec)
Blocks the calling thread for the specified duration.
Input parameters for RTI_DL_DistLogger_logMessageWithParams.
Definition: rti_dl_c.h:306
Struct defining RTI Distributed Logger singleton.
This struct contains all RTI Distributed Logger's configurable options.