DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / LogToFileStop Method
Example

In This Topic
    LogToFileStop Method (DicomGlobal)
    In This Topic
    Stop logging to the currently active file
    Syntax
    'Declaration
     
    
    Public Shared Sub LogToFileStop() 
    public static void LogToFileStop()
    Example
    string path = @"C:\Logs"; // replace with your log path
    int logLevel = 0x3F;
    DicomGlobal.LogToFile(path, logLevel);
                        
    // This will stop the logging that has been enabled above
    DicomGlobal.LogToFileStop();
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also