Synced
FileLogSink.Receive
Section titled “FileLogSink.Receive”
- Writes and flushes one complete entry before returning, serializing concurrent callers.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Logging
Declaration
Section titled “Declaration”public void Inno.Core.Logging.FileLogSink.Receive(Inno.Core.Logging.LogEntry entry)Parameters
Section titled “Parameters”Parameter entry: The immutable entry to persist.
Remarks
Section titled “Remarks”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.
Exceptions
Section titled “Exceptions”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.