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.
 
 
 
 

23 lines
534 B

  1. using Microsoft.Extensions.Logging;
  2. using System;
  3. namespace MQTTnet.Core.Tests
  4. {
  5. public class TestLogger<T> : ILogger<T>
  6. {
  7. public IDisposable BeginScope<TState>(TState state)
  8. {
  9. throw new NotImplementedException();
  10. }
  11. public bool IsEnabled(LogLevel logLevel)
  12. {
  13. return true;
  14. }
  15. public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
  16. {
  17. }
  18. }
  19. }