Пример #1
0
 /// <summary>
 /// Erzeugt einen Protokolleintrag.
 /// </summary>
 /// <param name="logEntry">Der Protokolleintrag.</param>
 public void CreateLogEntry(VCRRecordingInfo logEntry)
 {
     // Store
     if (logEntry.Source != null)
     {
         if (!string.IsNullOrEmpty(logEntry.Source.ProfileName))
         {
             SerializationTools.SafeSave(logEntry, Path.Combine(LogDirectory.FullName, DateTime.UtcNow.ToString(LogEntryDateFormat + LogEntryTimeFormat) + logEntry.Source.ProfileName + VCRRecordingInfo.FileSuffix));
         }
     }
 }