Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Writes and flushes one complete entry before returning, serializing concurrent callers.

API: engine
Project: Inno.Core.Logging

public void Inno.Core.Logging.FileLogSink.Receive(Inno.Core.Logging.LogEntry entry)

Parameter entry: The immutable entry to persist.

The router owns scheduling and backpressure. Write failures propagate to its sink quarantine. Retention cannot remove files locked by another active writer and retries them on later rotation.

Exception T:System.ObjectDisposedException: The sink has been disposed.

Exception T:System.IO.IOException: An entry cannot be written, flushed or rotated.

Exception T:System.UnauthorizedAccessException: The caller cannot create the next log file or access the directory.

Exception T:System.InvalidOperationException: A previous failed rotation left no writable file.