Method GetContextLocalLogger
GetContextLocalLogger()
Gets the logger for the current context.
Declaration
IFlashtraceLocalLogger GetContextLocalLogger()
Returns
Type | Description |
---|---|
IFlashtraceLocalLogger |
GetContextLocalLogger(FlashtraceLevel)
Gets the IFlashtraceLocalLogger plus a flag indicating whether the source is enabled for a given FlashtraceLevel.
Declaration
(IFlashtraceLocalLogger, bool) GetContextLocalLogger(FlashtraceLevel level)
Parameters
Type | Name | Description |
---|---|---|
FlashtraceLevel | level | Log level. |
Returns
Type | Description |
---|---|
System.ValueTuple<IFlashtraceLocalLogger, System.Boolean> | The IFlashtraceLocalLogger for the current execution context and a flag indicating whether logging
is enabled for the given |