Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Logging Namespace / MessageSourceProvider Class
Members

In This Topic
    MessageSourceProvider Class
    In This Topic
    A basic class to determine the source of a log message and act as an IMessageSourceProvider.
    Syntax
    'Declaration
     
    
    <NullableContextAttribute(2)>
    <NullableAttribute(0)>
    Public Class MessageSourceProvider 
       Implements Gibraltar.Agent.IMessageSourceProvider 
    [NullableContext(2)]
    [Nullable(0)]
    public class MessageSourceProvider : Gibraltar.Agent.IMessageSourceProvider  
    Remarks
    This class knows how to acquire information about the source of a log message from the current call stack, and acts as a IMessageSourceProvider to use when handing off a log message to the central Log. Thus, this object must be created while still within the same call stack as the origination of the log message.
    Inheritance Hierarchy

    System.Object
       Gibraltar.Agent.Logging.MessageSourceProvider

    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