FileLifecycleHooks Methods

Serilog Sinks AmazonS3

Serilog.Sinks.AmazonS3

FileLifecycleHooks Methods

The FileLifecycleHooks type exposes the following members.

Methods


  Name Description
Public method OnFileOpened
Initialize or wrap the underlyingStream opened on the log file. This can be used to write file headers, or wrap the stream in another that adds buffering, compression, encryption, etc. The underlying file may or may not be empty when this method is called.