Method
BeginScope
abstract virtual func BeginScope<TState>(state: TState) -> Disposable?
Declaring type: Logger
Module: Neo.Logging
Assembly: Neo.Logging.Abstractions.dll
Source file: Contracts.rvn
Defined by Logger.BeginScope · Required implementation (no default).
Interface implementation: Required implementation (no default).
Begins a provider-owned scope. Dispose the returned handle to end it; null means unsupported. The foundation forwards scope state but supplies no ambient async scope storage.
Parameters
| Name | Type | Description |
|---|---|---|
state |
TState |