Click or drag to resize

FileTargetCreateFileStream Method

Creates stream for appending to the specified filePath

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
protected virtual Stream CreateFileStream(
	string filePath,
	int bufferSize
)

Parameters

filePath
Type: SystemString
Path of the file to be written
bufferSize
Type: SystemInt32
Wanted internal buffer size for the stream

Return Value

Type: Stream
Stream for appending to the file
See Also