GetContextLocalLogger(LogLevel)
Gets the IContextLocalLogger plus a flag indicating whether the source is enabled for a given LogLevel.
Declaration
(IContextLocalLogger logger, bool isEnabled) GetContextLocalLogger(LogLevel level)Parameters
| Type | Name | Description |
|---|---|---|
| LogLevel | level | Log level. |
Returns
| Type | Description |
|---|---|
| (IContextLocalLogger logger, bool isEnabled) | The IContextLocalLogger for the current execution context and a flag indicating whether logging
is enabled for the given |