Enforcing Serilog Logging in Public Repository Methods with .NET Architecture Tests
In a .NET 8 web api application, how can I leverage architecture tests using NetArchTest.Rules to ensure every public method in a repository class utilizes Serilog’s Information method for logging? The goal is to log the method entry and exit points with relevant details.