using Microsoft.Extensions.Logging; using System; namespace MQTTnet.Core.Tests { public class TestLogger : IDisposable, ILogger { public IDisposable BeginScope(TState state) { return this; } public bool IsEnabled(LogLevel logLevel) { return true; } public void Log(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func formatter) { } public void Dispose() { } } }