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

A Microsoft.Extensions.ILogger interface provided by user

This Enum value controls the level of details logged in the output




In This Topic
    LogToLogger(ILogger,LogLevel) 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, _
       Optional ByVal logLevel As LogLevel _
    ) 
    'Usage
     
    
    Dim msLogger As ILogger
    Dim logLevel As LogLevel
     
    DicomGlobal.LogToLogger(msLogger, logLevel)
    public static void LogToLogger( 
       ILogger msLogger,
       LogLevel logLevel
    )
    public:
    static void LogToLogger( 
       ILogger^ msLogger,
       LogLevel logLevel
    ) 

    Parameters

    msLogger

    A Microsoft.Extensions.ILogger interface provided by user

    logLevel

    This Enum 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