| File: DropMessageLoggerProvider.cs | Web Access |
| Project: src\bench\Libraries\Microsoft.Extensions.Http.Diagnostics.PerformanceTests\Microsoft.Extensions.Http.Diagnostics.PerformanceTests.csproj (Microsoft.Extensions.Http.Diagnostics.PerformanceTests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.Logging; namespace Microsoft.Extensions.Http.Logging.Bench; internal sealed class DropMessageLoggerProvider : ILoggerProvider { public ILogger CreateLogger(string categoryName) => new DropMessageLogger(); [SuppressMessage("Critical Code Smell", "S1186:Methods should not be empty", Justification = "Noop")] public void Dispose() { } }