FateLogWriter

constructor(stream: OutputStream, timeSource: TimeSource = TimeSource.Monotonic)

Creates a writer that writes to stream, as in file logging.


constructor(sink: FateSink, timeSource: TimeSource = TimeSource.Monotonic)

Parameters

sink

Where the log bytes go

timeSource

Stamps entries written without a timestamp. Defaults to TimeSource.Monotonic.