/// <summary> /// The close summary log file. /// </summary> /// <returns> /// The <see cref="bool"/>. /// </returns> private bool CloseSummaryLogFile() { summaryLogFile.Write(GetTextResource("SummaryLoggerFooter")); return(summaryLogFile.Close()); }
private void LogDbAction(string message) { var threadId = Thread.CurrentThread.ManagedThreadId.ToString(); _logfileWriter.Write(string.Format("{0} [{1}] - {2}", DateTime.Now.ToString(_logFileTimeFormat), threadId, message + "\r\n")); }