Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Log Class
Fields Properties Methods Events


In This Topic
    Log Class Members
    In This Topic

    The following tables list the members exposed by Log.

    Public Fields
     NameDescription
    Public FieldThe category for trace messages  
    Public FieldThe default category name for a dedicated Exception message.  
    Public FieldA standard file filter for standard file dialogs that allows selection of packages and logs.  
    Public FieldA standard file filter for standard file dialogs that allows selection of logs.  
    Public FieldA standard file filter for standard file dialogs that allows selection of packages.  
    Public FieldThe file extension (without period) for a Gibraltar Log File. Used internally to Gibraltar.  
    Public FieldThe file extension (without period) for a Gibraltar Package File.  
    Public FieldThe log system name for Gibraltar  
    Top
    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic)The version information for the Gibraltar Agent.  
    Public Propertystatic (Shared in Visual Basic)An implementation of IApplicationUserProvider to capture Application User details from an IPrinciple  
    Public Propertystatic (Shared in Visual Basic)A temporary flag to tell us whether to invoke a Debugger.Break() when Log.DebugBreak() is called.  
    Public Propertystatic (Shared in Visual Basic)The running publisher configuration. This is always safe even when logging is disabled.  
    Public Propertystatic (Shared in Visual Basic)Indicates if the StartSession API method was ever explicitly called.  
    Public Propertystatic (Shared in Visual Basic)Reports whether EndSession() has completed flushing the end-session command to the log.  
    Public Propertystatic (Shared in Visual Basic)Reports whether EndSession() has been called to formally end the session.  
    Public Propertystatic (Shared in Visual Basic)Get the official Error Alert Notifier instance. Will create it if it doesn't already exist.  
    Public Propertystatic (Shared in Visual Basic)Get the official Notifier instance that returns all messages. Will create it if it doesn't already exist.  
    Public Propertystatic (Shared in Visual Basic)Our one metric definition collection for capturing metrics in this process  
    Public Propertystatic (Shared in Visual Basic)An implementation of IPrincipalResolver to determine the IPrinciple for each log message and metric sample  
    Public Propertystatic (Shared in Visual Basic)The current process's collection repository  
    Public Propertystatic (Shared in Visual Basic)Indicates if the agent should package & send sessions for the current application after this session exits.  
    Public Propertystatic (Shared in Visual Basic)The common information about the active log session. This is always safe even when logging is disabled.  
    Public Propertystatic (Shared in Visual Basic)Indicates if the logging system should be running in silent mode (for example when running in the agent).  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Indicates if the packager executable is available where this process can find it.  
    Public Methodstatic (Shared in Visual Basic)Indicates if we have sufficient configuration information to automatically send packages while running (via email or server).  
    Public Methodstatic (Shared in Visual Basic)Indicates if we have sufficient configuration information to automatically send packages upon exit (via email or server).  
    Public Methodstatic (Shared in Visual Basic)Automatically stop debugger like a breakpoint, if enabled.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. End the current log file (but not the session) and open a new file to continue logging.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Called at the end of the process execution cycle to indicate that the process shut down normally or explicitly crashed.  
    Public Methodstatic (Shared in Visual Basic)Ensure all messages have been written completely  
    Public Methodstatic (Shared in Visual Basic)Attempt to initialize the log system. If it is already initialized it will return immediately.  
    Public Methodstatic (Shared in Visual Basic)Indicates if we have sufficient configuration information to automatically send packages by email submission.  
    Public Methodstatic (Shared in Visual Basic)Indicates if we have sufficient configuration information to automatically send packages to a Loupe Server.  
    Public Methodstatic (Shared in Visual Basic)Indicates if logging is active, performing initialization if necessary  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Record an unexpected Exception to the Gibraltar central log, formatted automatically.  
    Public Methodstatic (Shared in Visual Basic)Add an implementation of IFilter to inspect and modify data recorded by Loupe.  
    Public Methodstatic (Shared in Visual Basic)Send sessions using packager  
    Public Methodstatic (Shared in Visual Basic)Set the SendSessionsOnExit setting. (Should only be called through the SendSessionsOnExit property in Monitor.Log or Agent.Log.)  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Called to activate the logging system. If it is already active then this has no effect.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a Verbose trace message directly to the Gibraltar log.  
    Public Methodstatic (Shared in Visual Basic)Remove the specified IFilter implementation from the set of filters.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Record the provided set of metric samples to the log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a trace message directly to the Gibraltar log with an optional attached Exception and specifying Queued or WaitForCommit behavior.  
    Top
    Public Events
     NameDescription
    Public EventRaised whenever the log system is being started to enable programmatic configuration.  
    Top
    See Also