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

In This Topic
    SimpleLogMessage Class
    In This Topic
    An intermediary class to log a simple log message (as from Trace).
    Syntax
    'Declaration
     
    
    Public Class SimpleLogMessage 
       Inherits LogMessageBase
    public class SimpleLogMessage : LogMessageBase 
    Remarks
    This class knows how to translate from a simple logging API like Trace into our more all-encompassing Gibraltar Log collector. 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 internally by our Trace Listener and external Gibraltar log API.
    Inheritance Hierarchy

    System.Object
          Gibraltar.Monitor.SimpleLogMessage

    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