Synced
LogRouter.Constructor
Section titled “LogRouter.Constructor”
- Creates an isolated logging router with an explicit delivery policy.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Logging
Declaration
Section titled “Declaration”public Inno.Core.Logging.LogRouter.LogRouter(int queueCapacity = 65536, int drainBudget = 4096, Inno.Core.Logging.LogDeliveryMode deliveryMode = Inno.Core.Logging.LogDeliveryMode.Background)Parameters
Section titled “Parameters”Parameter queueCapacity: Maximum pending entries and flush barriers before explicit rejection.
Parameter drainBudget: Maximum work items delivered using one sink snapshot.
Parameter deliveryMode: Selects worker or inline delivery independently of the platform.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: A capacity or budget is not positive, or the delivery policy is not a defined mode.