log4net SDK Reference

FileAppender.SetQWForFiles Method (Stream)

Sets the quiet writer used for file output

[Visual Basic]
Overridable Overloads Protected Sub SetQWForFiles( _
   ByVal fileStream As Stream _
)
[C#]
protected virtual void SetQWForFiles(
   Stream fileStream
);

Parameters

fileStream
the file stream that has been opened for writing

Remarks

This implementation of SetQWForFiles creates a StreamWriter over the fileStream and passes it to the SetQWForFiles method.

This method can be overridden by sub classes that want to wrap the Stream in some way, for example to encrypt the output data using a System.Security.Cryptography.CryptoStream.

See Also

FileAppender Class | log4net.Appender Namespace | FileAppender.SetQWForFiles Overload List