Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Log Class / EndFile Method / EndFile(String) Method
An optionally-declared reason for invoking this operation (may be null or empty).

In This Topic
    EndFile(String) Method
    In This Topic
    End the current log file (but not the session) and open a new file to continue logging.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub EndFile( _
       ByVal reason As String _
    ) 
    public static void EndFile( 
       string reason
    )

    Parameters

    reason
    An optionally-declared reason for invoking this operation (may be null or empty).
    Remarks
    This method is provided to support user-initiated roll-over to a new log file (instead of waiting for an automatic maintenance roll-over) in order to allow the logs of an ongoing session up to that point to be collected and submitted (or opened in the viewer) for analysis without shutting down the subject application.
    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