Freigeben über


Kernel.LoggerFactory Property

Definition

Gets the ILoggerFactory associated with this Kernel.

public Microsoft.Extensions.Logging.ILoggerFactory LoggerFactory { get; }
member this.LoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory
Public ReadOnly Property LoggerFactory As ILoggerFactory

Property Value

Remarks

This returns any ILoggerFactory in Services. If there is none, it returns an ILoggerFactory that won't perform any logging.

Applies to