Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Log Class / Initialize Method
Optional. A default configuration to start with instead of the configuration file.

In This Topic
    Initialize Method (Log)
    In This Topic
    Attempt to initialize the log system. If it is already initialized it will return immediately.
    Syntax
    'Declaration
     
    
    Public Shared Function Initialize( _
       ByVal configuration As AgentConfiguration _
    ) As Boolean
    public static bool Initialize( 
       AgentConfiguration configuration
    )

    Parameters

    configuration
    Optional. A default configuration to start with instead of the configuration file.

    Return Value

    True if the initialization has completed (on this call or prior), false if a re-entrant call returns to avoid deadlocks and infinite recursion.
    Remarks
    If calling initialization from a path that may have started with the trace listener, you must set suppressTraceInitialize to true to guarantee that the application will not deadlock or throw an unexpected exception.
    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