File: BenchLoggerProvider.cs
Web Access
Project: src\bench\Libraries\Microsoft.Extensions.Telemetry.PerformanceTests\Microsoft.Extensions.Telemetry.PerformanceTests.csproj (Microsoft.Extensions.Telemetry.PerformanceTests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.Extensions.Logging;
 
namespace Microsoft.Extensions.Telemetry.Bench;
 
internal sealed class BenchLoggerProvider : ILoggerProvider
{
    public ILogger CreateLogger(string categoryName) => new BenchLogger();
 
    public void Dispose()
    {
        // nop
    }
}