ZennoLab Assemblies Documentation
SplitLogByThread Property
Example 
Gets or sets the option to separate log by threads.
Syntax
bool SplitLogByThread {get; set;}

Property Value

Type: System.String

If need to separate log by threads then "true"; otherwise and default "false".

Example
The following example uses property LogOptions of "project" for getting last error of project.
// get the path to log file
string path = project.LogOptions.LogFile;
// set the path to log file
project.LogOptions.LogFile = "X:\\log.txt";
// enable splitting for log
project.LogOptions.SplitLogByThread = true; 
return tmp;
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ILogOptions Interface
ILogOptions Members

Send Feedback