ISIS-533: keep flushing until no more commands to flush
ISIS-535: application-specific logging example

executing the ToDoItem#updateCost action will log to Stderr (debug level)