File: Logging\TestLog.cs | Web Access |
Project: src\test\Libraries\Microsoft.Extensions.Diagnostics.Testing.Tests\Microsoft.Extensions.Diagnostics.Testing.Tests.csproj (Microsoft.Extensions.Diagnostics.Testing.Tests) |
// 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.Logging.Testing.Test.Logging; internal static partial class TestLog { [LoggerMessage(0, LogLevel.Error, "Hello {name}")] public static partial void Hello(this ILogger logger, string name); } |