combit List & Label 29 - .NET Help
combit.Reporting.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.



In This Topic
    SetLogger Method (DbCommandSetDataProvider)
    In This Topic

    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 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also