Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GField Class / LogValueDetails Property

In This Topic
    LogValueDetails Property
    In This Topic
    Enables or disables recording of object detail for parameters via ToString. Enabled by default.
    Syntax
    'Declaration
     
    
    Public Property LogValueDetails As Boolean
    public bool LogValueDetails {get; set;}
    Remarks

    When enabled the field values being recorded (with LogValue enabled) will include object detail by converting class instances via their ToString method. This can produce significant overhead depending on the ToString implementation for those passed parameters.

    When disabled the parameter values for most class instances will be recorded by their type and hash code to avoid calling ToString() and thus keep overhead to a minimum. Value types (structs) will still be converted via ToString, and string objects will be recorded directly.

    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