public void WriteFinish(string results) { CommandLog.ProcessLength = Logger.LogCommand.FromStart; CommandLog.Results = results; CommandLog.Status = Logger.LogCommand.Status; CommandLog = null; }
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; }