DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomGlobal Class / LogToLogger Method / LogToLogger(ILogger,Int32) Method

A Microsoft.Extensions.ILogger interface provided by user

This value controls the level of details logged in the output




In This Topic
    LogToLogger(ILogger,Int32) Method
    In This Topic
    Enables DicomObjects logging to a user provided Microsoft ILogger interface
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub LogToLogger( _
       ByVal msLogger As ILogger, _
       ByVal logLevel As Integer _
    ) 
    'Usage
     
    
    Dim msLogger As ILogger
    Dim logLevel As Integer
     
    DicomGlobal.LogToLogger(msLogger, logLevel)
    public static void LogToLogger( 
       ILogger msLogger,
       int logLevel
    )
    public:
    static void LogToLogger( 
       ILogger^ msLogger,
       int logLevel
    ) 

    Parameters

    msLogger

    A Microsoft.Extensions.ILogger interface provided by user

    logLevel

    This value controls the level of details logged in the output

    Remarks

    The last two levels should NOT be used routinely when images are being sent or received, as the quality of log data becomes unmanageable, and the system will probably run so slowly that connecting equipment will time-out.

    Other bits in the higher word are reserved for Medical Connections' use or future expansion.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also