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 RTIDDS.Config.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 RTIDDS.Config.LogCategory) return RTIDDS.Config.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 RTIDDS.Config.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 RTIDDS.Config.LogCategory; | |
Verbosity | : in RTIDDS.Config.LogVerbosity); |
function get_print_format
( | This | : not null access Ref) return RTIDDS.Config.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 | : RTIDDS.Config.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 RTIDDS.Config.Logger.Ref_Access is abstract; |
procedure Set_output_device
( | Self | : not null access RTIDDS.Config.Logger.Ref; |
device | : access LoggerDevice_Interface'Class); |