Share via


Service.Logging Property

Definition

Represents the logging configuration for a service in a Docker Compose file. This property allows defining logging options such as drivers and parameters to customize how logs are handled and stored for the service.

[YamlDotNet.Serialization.YamlMember(Alias="logging")]
public Aspire.Hosting.Docker.Resources.ServiceNodes.Logging? Logging { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="logging")>]
member this.Logging : Aspire.Hosting.Docker.Resources.ServiceNodes.Logging with get, set
Public Property Logging As Logging

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to