// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Extensions.Logging;
namespace Microsoft.CodeAnalysis.LanguageServer.UnitTests;
internal class TestLoggerProvider : ILoggerProvider
{
private readonly ILogger _testLogger;
public TestLoggerProvider(ILogger testLogger)
{
_testLogger = testLogger;
}
public ILogger CreateLogger(string categoryName)
{
return _testLogger;
}
public void Dispose()
{
}
}
|