Пример #1
0
 /// <summary>
 /// zobrazí text v konzoli
 /// </summary>
 private static void consoleLog(object obj, EventArgsLog eventArgsLog)
 {
     Console.WriteLine(eventArgsLog.strLog.ToString());
     strChangesLog += Environment.NewLine + eventArgsLog.strLog.ToString();
 }
Пример #2
0
 /// <summary>
 /// zapíše chybovou operaci
 /// </summary>
 /// <param name="eventArgsLog">obsahuje text pro zápis do logu</param>
 private static void errorLog(object obj, EventArgsLog eventArgsLog)
 {
     Console.WriteLine("Error: " + eventArgsLog.strLog.ToString());
     strErrorLog += Environment.NewLine + eventArgsLog.strLog.ToString();
 }