You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 satır
385B

  1. using Microsoft.Extensions.Logging;
  2. using HealthMonitor.Core.DbLog;
  3. namespace HealthMonitor.WebApi.DbLog
  4. {
  5. public class EfCoreLogProvider : IEfCoreLoggerProvider
  6. {
  7. public static LogLevel LogThisAndAbout { get; set; } = LogLevel.Information;
  8. public ILogger CreateLogger(string categoryName)
  9. {
  10. return new EfCoreLogger(categoryName);
  11. }
  12. public void Dispose() { }
  13. }
  14. }