Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HostApplicationBuilder.Logging Property

Definition

Namespace:
Microsoft.Extensions.Hosting
Assembly:
Microsoft.Extensions.Hosting.dll
Package:
Microsoft.Extensions.Hosting v11.0.0-preview.5.26302.115
Source:
HostApplicationBuilder.cs
Source:
HostApplicationBuilder.cs
Source:
HostApplicationBuilder.cs
Source:
HostApplicationBuilder.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets a collection of logging providers for the application to compose. This property is useful for adding new logging providers.

public:
 property Microsoft::Extensions::Logging::ILoggingBuilder ^ Logging { Microsoft::Extensions::Logging::ILoggingBuilder ^ get(); };
public Microsoft.Extensions.Logging.ILoggingBuilder Logging { get; }
member this.Logging : Microsoft.Extensions.Logging.ILoggingBuilder
Public ReadOnly Property Logging As ILoggingBuilder

Property Value

Implements

Applies to


Feedback

Was this page helpful?