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


combit.ListLabel25.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 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

DbCommandSetDataProvider Class
DbCommandSetDataProvider Members