Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Log Class / IsLoggingActive Method

In This Topic
    IsLoggingActive Method
    In This Topic
    Indicates if logging is active, performing initialization if necessary
    Syntax
    'Declaration
     
    
    Public Shared Function IsLoggingActive() As Boolean
    public static bool IsLoggingActive()

    Return Value

    True if logging is active, false if it isn't at this time.
    Remarks
    The very first time this is used it will attempt to start the logging system even if it hasn't already been started. If that call is canceled through our Initializing event then it will return false. After the first call it will indicate if logging is currently initialized and not attempt to initialize.
    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