mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
增加每个组件的执行日志
This commit is contained in:
@@ -32,6 +32,7 @@ public abstract class NodeComponent {
|
|||||||
private String nodeId;
|
private String nodeId;
|
||||||
|
|
||||||
public void execute() throws Exception{
|
public void execute() throws Exception{
|
||||||
|
LOG.info("start component[{}] execution",this.getClass().getSimpleName());
|
||||||
this.getSlot().addStep(new CmpStep(nodeId, CmpStepType.START));
|
this.getSlot().addStep(new CmpStep(nodeId, CmpStepType.START));
|
||||||
StopWatch stopWatch = new StopWatch();
|
StopWatch stopWatch = new StopWatch();
|
||||||
stopWatch.start();
|
stopWatch.start();
|
||||||
|
|||||||
Reference in New Issue
Block a user