Serilog.Filters.Matching
Predicates applied to log events that can be used
Matches events from the specified source type.
Matches events from the specified source type or namespace and
nested types or namespaces.
Matches events with the specified property attached,
regardless of its value.
Matches events with the specified property value.
public static Func<LogEvent, bool> WithProperty<TScalar>(string propertyName, Func<TScalar, bool> predicate)
Matches events with the specified property value.