type Ref is new RTIDDS.Obj_Impl.Ref with null record;
type Ref_Access is access all Ref'Class;
function Get_Instance return access Ref;
function Get_Verbosity
( | This | : not null access Ref) return LogVerbosity; |
The default verbosity if NDDSConfigLogger.set_verbosity is never called is NDDS_CONFIG_LOG_VERBOSITY_ERROR.
If NDDSConfigLogger.set_verbosity_by_category has been used to set different verbosities for different categories of messages, this procedure will return the maximum verbosity of all categories.
function Get_Verbosity
( | This | : not null access Ref; |
Category | : in LogCategory) return LogVerbosity; |
The default verbosity if NDDSConfigLogger.set_verbosity and NDDSConfigLogger.set_verbosity_by_category are never called is NDDS_CONFIG_LOG_VERBOSITY_ERROR.
procedure Set_Verbosity
( | This | : not null access Ref; |
Verbosity | : in LogVerbosity); |
Note: Logging at high verbosities will be detrimental to your application's performance. Your default setting should typically remain at NDDS_CONFIG_LOG_VERBOSITY_WARNING or below. (The default verbosity if you never set it is NDDS_CONFIG_LOG_VERBOSITY_ERROR.)
procedure Set_Verbosity
( | This | : not null access Ref; |
Category | : in LogCategory; | |
Verbosity | : in LogVerbosity); |
function Get_Print_Format
( | This | : not null access Ref) return LogPrintFormat; |
Use NDDSConfigLogger.get_print_format_by_log_level to retrieve the format for other log levels.
If NDDSConfigLogger.set_print_format is never called, the default format is NDDS_CONFIG_LOG_PRINT_FORMAT_DEFAULT.
procedure Set_Print_Format
( | This | : not null access Ref; |
Format | : LogPrintFormat); |
procedure Write
( | Self | : LoggerDevice_Interface; |
Text | : Standard.String; | |
Level | : LogVerbosity) is abstract; |
procedure Close
( | Self | : LoggerDevice_Interface) is null; |
function GetDevice
( | Self | : access LoggerDevice_Interface) return access RTIDDS.Low_Level.ndds_ndds_config_c_h.NDDS_Config_LoggerDevice is abstract; |
function GetLogger
( | Self | : access LoggerDevice_Interface) return DDS.Logger.Ref_Access is abstract; |
procedure Set_Output_Device
( | Self | : not null access DDS.Logger.Ref; |
Device | : access LoggerDevice_Interface'Class); |