Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Enters a nested execution scope whose emitted logs belong to the supplied runtime session.

API: engine
Project: Inno.Core.Logging

public static System.IDisposable Inno.Core.Logging.LogSessionContext.Enter(Inno.Core.Logging.LogSessionId sessionId)

Parameter sessionId: The non-empty identifier of the runtime session receiving execution.

A scope that restores the previous session when disposed in reverse creation order.

Exception T:System.ArgumentException: Thrown when sessionId does not identify a runtime session.