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

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

    Target Platforms: .NET CLR 4.8 or higher

    See Also