Beispiel #1
0
 // TN events
 public void trace_event(string fmt, params object[] args)
 {
     if (!optionTraceEvent)
     {
         return;
     }
     TraceEvent(TraceType.Event, TraceFormatter.Format(fmt, args));
 }
Beispiel #2
0
 public void ShowError(string error, params object[] args)
 {
     events.Add(new EventNotification(error, args));
     Console.WriteLine("ERROR" + TraceFormatter.Format(error, args));
     //telnet.FireEvent(error, args);
 }
Beispiel #3
0
 public override string ToString()
 {
     return(TraceFormatter.Format(error, data));
 }