示例#1
0
 /// <summary>
 /// Adds the log information
 /// </summary>
 /// <param name="newLog">New log information</param>
 /// <param name="addWholeLine">Indicates if log text forms whole line</param>
 protected void AddLog(string newLog, bool addWholeLine)
 {
     EnsureLog();
     if (addWholeLine)
     {
         LogContext.AppendLine(newLog);
     }
     else
     {
         LogContext.Append(newLog);
     }
 }