Open sandboxFocus

Property EnabledOrNull

EnabledOrNull

Returns the current LogLevelSource, or null if logging is not enabled for the current instance. This property allows to write conditional logging using the ?. operator.

Declaration
public LogLevelSource EnabledOrNull { get; }
Property Value
Type Description
LogLevelSource