combit List & Label 24 - .NET Online Web Help
SetLogger Method (DbCommandSetDataProvider)


combit.ListLabel24.DataProviders Namespace > DbCommandSetDataProvider Class : SetLogger Method

Logger to use.

If set to true, the new logger will always be used, otherwise it will only be used if no other logger exists.

Allows to override the default debug logger.

Syntax
'Declaration
 
Public Sub SetLogger( _
   ByVal logger As ILlLogger, _
   ByVal overrideExisting As Boolean _
) 
public void SetLogger( 
   ILlLogger logger,
   bool overrideExisting
)
public:
void SetLogger( 
   ILlLogger^ logger,
   bool overrideExisting
) 

Parameters

logger

Logger to use.

overrideExisting

If set to true, the new logger will always be used, otherwise it will only be used if no other logger exists.

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

DbCommandSetDataProvider Class
DbCommandSetDataProvider Members