DFSLink Developer Documentation

MessageProcessor.openLogFile Method (String, Boolean)

Opens a log file with the specfied name in append or overwrite mode. The file handle are kept in swLog. swLog If there is also a file open, the file will be closed and reopened in append mode.

public override StreamWriter openLogFile(
   string name,
   bool append
);

Parameters

name
The name of the file (name.extension).
append
Append data to an existing file or overwrite the file.

Return Value

A StreamWriter object.

See Also

MessageProcessor Class | dfslink Namespace | MessageProcessor.openLogFile Overload List