Property print.logFile
Overload
Sets log file path.
When set (not null
), text passed to print.it will be written to the file.
If value is null
- restores default behavior.
public static string logFile { get; set; }
Exceptions
ArgumentException
The |
Property Value
Remarks
The first print.it etc call (in this process) creates or opens the file and deletes old content if the file already exists.
Also supports mailslots. For LogFile use mailslot name, as documented in CreateMailslot. Multiple processes can use the same mailslot.