Merge pull request 'feat: 添加logger debug埋点输出 feat #459' (#560) from feat_logger_conllection_name into dev
Reviewed-on: daoyoucloud/tachycode#560
This commit is contained in:
commit
adbbf831c2
@ -37,6 +37,7 @@ export class FieldModel extends MagicAttributeModel {
|
|||||||
|
|
||||||
const field = await (async () => {
|
const field = await (async () => {
|
||||||
await new Promise((resolve) => setTimeout(resolve, 0));
|
await new Promise((resolve) => setTimeout(resolve, 0));
|
||||||
|
this.db.logger.debug('埋点debug———— collectionName:' + collectionName + 'options:' + JSON.stringify(options));
|
||||||
return collection.setField(name, options);
|
return collection.setField(name, options);
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user