共用方式為


EnvironmentCallbackContext.Logger Property

Definition

An optional logger to use for logging.

public Microsoft.Extensions.Logging.ILogger? Logger { get; set; }
member this.Logger : Microsoft.Extensions.Logging.ILogger with get, set
Public Property Logger As ILogger

Property Value

Applies to