Optimize the output of Logger in AddModular
This commit is contained in:
parent
55d52f446f
commit
773da154ff
@ -425,9 +425,9 @@ class Manager<WXC extends AnyWXContext = AnyWXContext> {
|
|||||||
func.push(`[${ key }]`);
|
func.push(`[${ key }]`);
|
||||||
}
|
}
|
||||||
|
|
||||||
let log:string = `模块 [${ this.modules[i].nameSpace }] 加载:\n`;
|
let log:string = `模块 [${ this.modules[i].nameSpace }] 加载完成...\n`;
|
||||||
log += `Using Props: ${ data.join(", ") }\n`;
|
if(data.length > 0) log += `Using Props: ${ data.join(", ") }\n`;
|
||||||
log += `Using Function: ${ func.join(", ") }\n`;
|
if(func.length > 0) log += `Using Function: ${ func.join(", ") }\n`;
|
||||||
|
|
||||||
Logger.log(log, LevelLogLabel.TraceLabel, Manager.AddModuleLabel);
|
Logger.log(log, LevelLogLabel.TraceLabel, Manager.AddModuleLabel);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user