MockLogger.cs 670 B

1234567891011121314151617181920212223242526
  1. using Microsoft.Extensions.Logging;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace JCSoft.WX.FrameworkTest.MockObject
  6. {
  7. public class MockLogger : ILogger
  8. {
  9. public IDisposable BeginScope<TState>(TState state)
  10. {
  11. throw new NotImplementedException();
  12. }
  13. public bool IsEnabled(LogLevel logLevel)
  14. {
  15. throw new NotImplementedException();
  16. }
  17. public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
  18. {
  19. throw new NotImplementedException();
  20. }
  21. }
  22. }