WithFormatter(IFormatter)
Returns a copy of the current LoggingPropertyOptions but with a different value of the Formatter property.
Declaration
public LoggingPropertyOptions WithFormatter(IFormatter formatter)
Parameters
Type | Name | Description |
---|---|---|
IFormatter | formatter | The formatter to be used to render the property value. |
Returns
Type | Description |
---|---|
LoggingPropertyOptions |