IHostApplicationBuilder.Logging 属性

定义

获取要撰写的应用程序的日志记录提供程序的集合。 这对于添加新的日志记录提供程序很有用。

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

属性值

适用于