| File: Pipelines\PipelineLoggingOptions.cs | Web Access |
| Project: src\src\Aspire.Hosting\Aspire.Hosting.csproj (Aspire.Hosting) |
// 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 Aspire.Hosting.Pipelines; /// <summary> /// Options for controlling logging behavior in the pipeline. /// </summary> internal sealed class PipelineLoggingOptions { /// <summary> /// Gets or sets the minimum log level for pipeline logging. /// </summary> public LogLevel MinimumLogLevel { get; set; } = LogLevel.Information; /// <summary> /// Gets a value indicating whether exception details (stack traces) should be included in logs. /// </summary> public bool IncludeExceptionDetails { get; set; } }