Update to submit logging
This commit is contained in:
@@ -162,6 +162,7 @@ public enum ForgeManager implements Runnable {
|
|||||||
} finally {
|
} finally {
|
||||||
city.transactionLock.writeLock().unlock();
|
city.transactionLock.writeLock().unlock();
|
||||||
}
|
}
|
||||||
|
Logger.info(workOrder.toString());
|
||||||
return validation_result;
|
return validation_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -158,7 +158,9 @@ public class WorkOrder implements Delayed {
|
|||||||
"rollingDuration: " + duration + "\r\n" +
|
"rollingDuration: " + duration + "\r\n" +
|
||||||
"completionTime: " + localDateTime + "\r\n" +
|
"completionTime: " + localDateTime + "\r\n" +
|
||||||
"runCompleted: " + this.runCompleted + "\r\n" +
|
"runCompleted: " + this.runCompleted + "\r\n" +
|
||||||
"runCanceled: " + this.runCanceled + "\r\n";
|
"runCanceled: " + this.runCanceled + "\r\n" +
|
||||||
|
"productionCost: " + this.production_cost.toString() + "\r\n" +
|
||||||
|
"totalProductionCost:: " + this.production_cost_total.toString();
|
||||||
|
|
||||||
return outSTring;
|
return outSTring;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user