ILogOptions

Assembly: ZennoLab.InterfacesLibrary
Full name: ZennoLab.InterfacesLibrary.ProjectModel.ILogOptions
Kind: interface


Contains options of execution log of project.

This class can be used in action OwnCode (C# or PHP) of ProjectMaker.

Properties

LogFile

Property

string LogFile { get; set; }

Gets or sets the path to log file.

Example

// 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;

SplitLogByThread

Property

bool SplitLogByThread { get; set; }

Gets or sets the option to separate log by threads.

Example

// 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;