Click or drag to resize

FileLifecycleHooks Methods

The FileLifecycleHooks type exposes the following members.

Methods
  NameDescription
Public methodOnFileClosed
Called after a log file has been closed by the FileTarget.
Public methodOnFileDeleting
Called immediately before a log file is deleted by the FileTarget.
Public methodOnFileOpened
Initializes or wraps the stream opened for a log file. This can be used to write file headers, or wrap the stream in another stream that adds buffering, compression, encryption, etc.
Public methodOnTargetClose
Called when the FileTarget is being closed.
Public methodOnTargetInitialize
Called when the FileTarget is initialized.
Top
See Also