Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Attempts to queue an immutable entry, draining it inline when the host has no logging worker.

API: engine
Project: Inno.Core.Logging

public bool Inno.Core.Logging.LogRouter.TryDispatch(Inno.Core.Logging.LogEntry entry)

Parameter entry: The message to accept under the current severity policy.

True when accepted or filtered by policy; false when bounded queue capacity is exhausted.

Inline callers serialize delivery. Entries written by a sink callback are queued until every sink has received the current entry, without recursively invoking callbacks.

Exception T:System.ObjectDisposedException: The router has stopped accepting work.