Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / BasicLogMessage Class
Members

In This Topic
    BasicLogMessage Class
    In This Topic
    An intermediary class to log a basic log message for the Gibraltar API.
    Syntax
    'Declaration
     
    
    Public Class BasicLogMessage 
       Inherits LogMessageBase
    public class BasicLogMessage : LogMessageBase 
    Remarks
    This class knows how to formulate a log message for the basic Gibraltar API, including a caption and formatted description. Importantly, it knows how to acquire information about the source of a log message from the current call stack, and acts as its own IMessageSourceProvider when handing it off to the central Log. Thus, this object must be created while still within the same call stack as the origination of the log message. It can also scan the format args for the first Exception object, or an Exception object to attach (or null) may be specified directly. Used by our external Gibraltar log API.
    Inheritance Hierarchy

    System.Object
          Gibraltar.Monitor.BasicLogMessage

    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