File: test\Generators\Microsoft.Gen.Logging\TestClasses\ConstructorVariationsTestExtensions.cs
Web Access
Project: src\test\Generators\Microsoft.Gen.Logging\Generated\Microsoft.Gen.Logging.Generated.Tests.csproj (Microsoft.Gen.Logging.Generated.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 TestClasses
{
    internal static partial class ConstructorVariationsTestExtensions
    {
        [LoggerMessage(0, LogLevel.Debug, "M0 {p0}")]
        public static partial void M0(ILogger logger, string p0);
 
        [LoggerMessage("M1 {p0}")]
        public static partial void M1(ILogger logger, LogLevel level, string p0);
 
        [LoggerMessage(LogLevel.Debug)]
        public static partial void M2(ILogger logger, string p0);
 
        [LoggerMessage]
        public static partial void M3(ILogger logger, LogLevel level, string p0);
 
        [LoggerMessage(LogLevel.Debug, "M4 {p0}")]
        public static partial void M4(ILogger logger, string p0);
 
        [LoggerMessage("M5 {p0}")]
        public static partial void M5(ILogger logger, LogLevel level, string p0);
 
        [LoggerMessage(LogLevel.Debug)]
        public static partial void M6(ILogger logger, string p0);
 
        [LoggerMessage]
        public static partial void M7(ILogger logger, LogLevel level, string p0);
 
        [LoggerMessage(Level = LogLevel.Trace, EventName = "EN1", EventId = 42, Message = "M8", SkipEnabledCheck = true)]
        public static partial void M8(ILogger logger, string p0);
    }
}