Visit<TValue>(string, TValue?, in LoggingPropertyOptions, ref TState)
Method invoked for each property in a LogEventData.
Declaration
void Visit<TValue>(string name, TValue? value, in LoggingPropertyOptions options, ref TState state)
Parameters
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 |
---|---|
TValue | Type of the property. |