Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GFeature Class / LogParameters Property

In This Topic
    LogParameters Property (GFeature)
    In This Topic
    Enables or disables recording of parameters and their values. Enabled by default.
    Syntax
    'Declaration
     
    
    Public Property LogParameters As Boolean
    public bool LogParameters {get; set;}
    Remarks

    When enabled GFeature will record the parameter values on entry to the method being monitored. 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 LogParameterDetails 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).

    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