Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GField Class / LogValue Property

In This Topic
    LogValue Property
    In This Topic
    Enables or disables recording of values. Enabled by default.
    Syntax
    'Declaration
     
    
    Public Property LogValue As Boolean
    public bool LogValue {get; set;}
    Remarks

    When enabled GField will record the field values before and after they are changed. Each parameter will be recorded as its ToString() representation if overridden (and for struct and enum types). If ToString() is not overridden in a class type (or if LogValueDetails is disabled) the base implementation will be replaced with the type's full name and the hash code for that instance. Some implementations of ToString() can produce very long strings and can result in very large messages for certain objects if such details are also enabled (which is the default).

    When disabled, only the sampled metric will be recorded, no log messages will be.

    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