Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent 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 file extension (without period) for a Loupe Package File.  
    Top
    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic)The version information for the Loupe Agent.  
    Public Propertystatic (Shared in Visual Basic)Indicates if the user has granted auto send consent for the current application  
    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)Optional. A custom authentication provider for communication between the agent and server  
    Public Propertystatic (Shared in Visual Basic)The common information about the active log session.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Non-UI clients should call this in lieu of DisplayStartupConsentDialog to activate auto-send  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a categorized Critical message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a detailed Critical message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Windows clients should call this to display the auto send consent form outside of the startup sequence.  
    Public Methodstatic (Shared in Visual Basic)Windows clients should call this to display the auto send consent form on startup if necessary  
    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. Used to explicitly set the session state for the current session and provide a reason.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a categorized Error message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a detailed Error message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a categorized Information message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a detailed Information message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Record an unexpected exception to the log without displaying a user prompt.  
    Public Methodstatic (Shared in Visual Basic)Ensures the calling thread is configured for the Agent to manage exceptions. See Remarks for description of the rare circumstances this is needed.  
    Public Methodstatic (Shared in Visual Basic)Record an unexpected exception to the log and report it to the user if possible.  
    Public Methodstatic (Shared in Visual Basic)Send an email message using the agent's email configuration  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Safely send sessions to the Loupe Server or via email. Only one send request will be processed at a time.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Safely send sessions asynchronously to the Loupe Server or via email. Only one send request will be processed at a time.  
    Public Methodstatic (Shared in Visual Basic)Windows applications only. Shows the Loupe Live Viewer immediately (as if the user pressed the hotkey).  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Attempt to activate the agent.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a Critical trace message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write an Error trace message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write an Information trace message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a Verbose trace message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a Warning trace message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a categorized Verbose message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a detailed Verbose message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a categorized Warning message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a detailed Warning message directly to the Loupe log.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Write a complete log message directly to the Loupe log from a wrapper method or bridging logic, attributing the source of the message farther up the call-stack.  
    Top
    Public Events
     NameDescription
    Public EventRaised whenever the log system is being started to enable programmatic configuration.  
    Public EventRaised whenever the Loupe Live Viewer receives a new log message, allowing the client to block it from being included for display to users.  
    Public EventRaised to alert subscribers to any Warning, Error, or Critical log messages, with optional throttling.  
    Public EventRaised whenever a new user name is encountered in the log data to allow additional user information to be specified  
    Top
    See Also

    Reference

    Log Class
    Gibraltar.Agent Namespace

    Developer's Reference

    Logging - Using with Trace
    Logging - Using with External Log Systems
    Logging - Using Loupe as a Log System