Synced
FileLogSink
Section titled “FileLogSink”
- Writes complete log entries to uniquely named rotating files under the router’s delivery policy.
Required contracts
Section titled “Required contracts”API: engine
Implements: Inno.Core.Logging.ILogSink, System.IDisposable
Inherits: object
Project: Inno.Core.Logging
Declaration
Section titled “Declaration”public class Inno.Core.Logging.FileLogSink : Inno.Core.Logging.ILogSink, System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | FileLogSink.Constructor | Opens an isolated log file without creating another queue or delivery worker. |
| Fields | FileLogSink.C_LOG_FILE_PREFIX | Prefix used for generated log file names. |
| Methods | FileLogSink.Dispose | Waits for an active write and closes the owned file, reporting any final flush failure. |
| Methods | FileLogSink.Receive | Writes and flushes one complete entry before returning, serializing concurrent callers. |