BaseRepository takes an ILogger via its constructor and logs the failing file path and exception in Save's catch block before rethrowing. Every concrete repository takes ILogger<ThisRepo> and passes it up so failures are categorised by repository type. Pulls Microsoft.Extensions.Logging.Abstractions into the Db project. TransactionRepositoryTestShould and AccountRepositoryTestShould pass NullLogger<T>.Instance. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AccountRepositoryTestShould.cs | ||
| ChartServiceTestShould.cs | ||
| FileServiceTestShould.cs | ||
| FormattingTestShould.cs | ||
| RepositoryCacheTestShould.cs | ||
| Schaad.Accounting.Tests.csproj | ||
| TransactionRepositoryTestShould.cs | ||
| ViewServiceTestShould.cs | ||