예제 #1
0
 public void WriteFinish(string results)
 {
     CommandLog.ProcessLength = Logger.LogCommand.FromStart;
     CommandLog.Results       = results;
     CommandLog.Status        = Logger.LogCommand.Status;
     CommandLog = null;
 }
예제 #2
0
 public void WriteStart(LogCommand command)
 {
     CommandLog = new TestCommandLog();
     Logs.Add(CommandLog);
     if (CommandSuper != null)
     {
         CommandSuper.Logs.Add(CommandLog);
     }
     CommandLog.Command = command.Name;
     CommandLog.Params  = command.Params;
     CommandLog.Status  = command.Status;
     CommandLog.Time    = command.StartTime;
     CommandLog.Context = command.Context;
 }