Files
UnrealEngine/Engine/Source/Programs/Shared/UnrealBuildTool.Tests/TestUtilities/TestLogger.cs
2025-05-18 13:04:45 +08:00

24 lines
517 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
using Microsoft.Extensions.Logging;
namespace UnrealBuildTool.Tests.TestUtilities
{
internal class TestLogger : ILogger
{
public IDisposable? BeginScope<TState>(TState state) where TState : notnull
{
return null;
}
public bool IsEnabled(LogLevel logLevel)
{
return false;
}
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
{
}
}
}