Click or drag to resize

AtomicFileTargetCreateFileStream Method

Creates stream for appending to the specified filePath

Namespace:  NLog.Targets
Assembly:  NLog.Targets.AtomicFile (in NLog.Targets.AtomicFile.dll) Version: 6.0.3+e276e1969a52b8ecc5cc84c1670a516efea0cb19
Syntax
protected override 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