Пример #1
0
 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";
 }
Пример #2
0
 public LogSimple()
 {
     this.logFileFullPath = Path.Combine(ProjectPath.getProjectFullPath(), logName + ".log");
 }