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

In This Topic
    LogMessageBase Class
    In This Topic
    Base class for log message template classes.
    Syntax
    'Declaration
     
    
    Public MustInherit Class LogMessageBase 
    public abstract class 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. Used internally by our Trace Listener and external Gibraltar log API.
    Inheritance Hierarchy

    System.Object
       Gibraltar.Monitor.LogMessageBase

    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