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:
sealday 2024-04-01 17:09:08 +08:00
commit adbbf831c2

View File

@ -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);
})(); })();