MetalamaAPI documentationFlashtrace APIFlashtrace.​RecordsILogging­Property­Visitor<TState>Visit
Open sandboxFocus

ILoggingPropertyVisitor<TState>.Visit Method

Visit<TValue>(String, TValue, in LoggingPropertyOptions, ref TState)

Method invoked for each property in a LogEventData.

void Visit<TValue>(string name, TValue value, in LoggingPropertyOptions options, ref TState state)
Type Name Description
String name

Property name.

TValue value

Property value.

LoggingPropertyOptions options

Property options.

TState state

State passed from the caller through the VisitProperties<TVisitorState>(ILoggingPropertyVisitor<TVisitorState>, ref TVisitorState, in LoggingPropertyVisitorOptions) method.

Type Parameters
Name Description

Type of the property.