Constructor LogDecorateScope
LogDecorateScope(LogControllerScopedLock, FixedList64Bytes<PayloadHandle>)
Creates the LogDecorateScope ReleaseDecoratePayloadBufferDeferred(LoggerHandle, FixedList64Bytes<PayloadHandle>)
Declaration
public LogDecorateScope(LogControllerScopedLock @lock, FixedList64Bytes<PayloadHandle> payloadHandles)
Parameters
Type | Name | Description |
---|---|---|
LogControllerScopedLock | lock | LogControllerScopedLock that is a default if global, or lock that holds some LogController |
FixedList64Bytes<PayloadHandle> | payloadHandles | Payload handles that will be deferred-released when Dispose is called. |
Remarks
Warning: the lock is disposed because it can't be held for the whole scope.