//
// FakeLogger.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Microsoft.Extensions.Logging;
namespace NosSmooth.Core.Tests.Fakes;
///
public class FakeLogger : ILogger
{
///
public void Log
(
LogLevel logLevel,
EventId eventId,
TState state,
Exception? exception,
Func formatter
)
{
}
///
public bool IsEnabled(LogLevel logLevel)
{
return true;
}
///
public IDisposable? BeginScope(TState state)
where TState : notnull
{
return null;
}
}