Giorgi / EntityFramework.Exceptions

Strongly typed exceptions for Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql.
https://giorgi.dev/entity-framework/introducing-entityframework-exceptions/
Other
1.44k stars 68 forks source link

Log question #37

Closed GioviQ closed 2 years ago

GioviQ commented 2 years ago

I use Serilog to log EntityFramework exceptions, but using this library I would like to exclude e.g. EntityFramework.Exceptions.Common.UniqueConstraintException

What is a best practice?

Thanks

Giorgi commented 2 years ago

@GioviQ I think that question belongs to Serilog as it is about configuring Serilog.