Synced
LogRouter.UnregisterSink
Section titled “LogRouter.UnregisterSink”
- Removes a sink from subsequent delivery snapshots without disposing it.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Logging
Declaration
Section titled “Declaration”public void Inno.Core.Logging.LogRouter.UnregisterSink(Inno.Core.Logging.ILogSink sink)Remarks
Section titled “Remarks”An in-flight batch may still borrow the previous snapshot. This operation does not wait for its callbacks; the host must coordinate quiescence before releasing sink resources. Router disposal releases only sinks that remain registered.
Parameters
Section titled “Parameters”Parameter sink: The sink to remove when registered.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when sink is null.