您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

23 行
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. }