package DDS.Logger is
type Ref (<>) is new RTIDDS.Obj_Impl.Ref with private;
type Ref_Access is access all Ref'Class;
type LoggerDevice_Interface_Access is access all LoggerDevice_Interface'Class;
function Get_Instance return Ref_Access;
MT Safety:
 UNSAFE. In VxWorks, it is unsafe to call this                     procedure while another thread may be simultaneously calling                     DDS.DomainParticipantFactory.get_instance,                         DDS.DomainParticipantFactory.finalize_instance,                         DDS_TypeCodeFactory.get_instance,                         DDSGuardCondition::DDSGuardCondition,                         DDSWaitSet::DDSWaitSet(),                         DDSWaitSet::DDSWaitSet(const DDS_WaitSetProperty_t&),                         DDSGuardCondition::~DDSGuardCondition,                         DDSWaitSet::~DDSWaitSet(),                         NDDSConfigLogger.get_instance,                         NDDSConfigLogger.get_output_device,                         NDDSConfigLogger.set_output_device,                                          NDDSUtilityNetworkCapture.enable, or                     NDDSUtilityNetworkCapture.disable.                 
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; | 
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); | 
function Get_Output_File
| ( | This | : not null access Ref) return Interfaces.C_Streams.FILEs; | 
procedure Set_Output_File
| ( | This | : not null access Ref; | 
| To | : Interfaces.C_Streams.FILEs); | 
procedure Set_Output_File_Name
| ( | This | : not null access Ref; | 
| File_Name | : Standard.String); | 
procedure Set_Output_File_Set
| ( | This | : not null access Ref; | 
| File_Preffix | : Standard.String; | |
| File_Suffix | : Standard.String; | |
| Max_Capacity | : Natural; | |
| Max_Files | : Natural); | 
procedure Write
| ( | Self | : not null access LoggerDevice_Interface; | 
| Text | : Standard.String; | |
| Level | : LogVerbosity) is abstract; | 
procedure Close
| ( | Self | : not null access LoggerDevice_Interface) is null; | 
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); | 
function GetDevice
| ( | Self | : access LoggerDevice_Interface) return access RTIDDS.Low_Level.ndds_ndds_config_c_h.NDDS_Config_LoggerDevice is abstract; |