6 references to Define
Aspire.Hosting.Docker (2)
LoggerMessage.g.cs (2)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(533087880, nameof(NotSupportedResourceWarning)), "{ResourceName} with type '{ResourceType}' is not supported by this publisher", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 94global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(902119958, nameof(FailedToCopyFile)), "Failed to copy referenced file '{FilePath}' to '{OutputPath}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
Aspire.Hosting.Kubernetes (2)
LoggerMessage.g.cs (2)
10global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(533087880, nameof(NotSupportedResourceWarning)), "{ResourceName} with type '{ResourceType}' is not supported by this publisher", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); 94global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.String, global::System.String>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(902119958, nameof(FailedToCopyFile)), "Failed to copy referenced file '{FilePath}' to '{OutputPath}'", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
Microsoft.Extensions.Http (1)
Logging\LogHelper.cs (1)
35private static readonly Action<ILogger, HttpMethod, string?, Exception?> _requestStart = LoggerMessage.Define<HttpMethod, string?>(
Microsoft.Extensions.Logging.Abstractions (1)
LoggerMessage.cs (1)
217=> Define<T1, T2>(logLevel, eventId, formatString, options: null);