public LogSimple(string logFolderPath, string logName) { this.logFolderPath = logFolderPath; this.logName = logName; this.logFolderPath = logFolderPath.Equals("") ? ProjectPath.getProjectFullPath() : logFolderPath; this.logFileFullPath = this.logFolderPath + @"\" + this.logName + ".log"; }
public LogSimple() { this.logFileFullPath = Path.Combine(ProjectPath.getProjectFullPath(), logName + ".log"); }