feat: 添加logger debug埋点输出 feat #459

This commit is contained in:
lyx 2024-04-01 16:53:06 +08:00
parent 93e9c3019f
commit 5955ad18cb

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