Serilog.Filters.Matching public static class Matching Documentation Code public static Func<LogEvent, bool> FromSource<TSource>() public static Func<LogEvent, bool> FromSource(string source) public static Func<LogEvent, bool> WithProperty(string propertyName) public static Func<LogEvent, bool> WithProperty(string propertyName, object scalarValue) public static Func<LogEvent, bool> WithProperty<TScalar>(string propertyName, Func<TScalar, bool> predicate)