ILoggingPropertyVisitor<TState>.Visit<TValue> Method |
Method invoked for each property in a LogEventData.
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
void Visit<TValue>( string name, TValue value, in LoggingPropertyOptions options, ref TState state )
Parameters
- name
- Type: System.String
Property name. - value
- Type: TValue
Property value. - options
- Type: PostSharp.Patterns.Diagnostics.Custom.LoggingPropertyOptionsInAttribute
Property options. - state
- Type: TState
State passed from the caller through the VisitProperties<TVisitorState>(ILoggingPropertyVisitor<TVisitorState>, TVisitorState, LoggingPropertyVisitorOptions) method.
Type Parameters
- TValue
- Type of the property.