共用方式為


LoggerMessageAttribute.Level Property

Definition

Gets or sets the logging level for the logging method.

public:
 property Microsoft::Extensions::Logging::LogLevel Level { Microsoft::Extensions::Logging::LogLevel get(); void set(Microsoft::Extensions::Logging::LogLevel value); };
public Microsoft.Extensions.Logging.LogLevel Level { get; set; }
member this.Level : Microsoft.Extensions.Logging.LogLevel with get, set
Public Property Level As LogLevel

Property Value

Applies to