From 5955ad18cb250fe9e84b2614a8001ec527179a96 Mon Sep 17 00:00:00 2001 From: lyx <2027667395@qq.com> Date: Mon, 1 Apr 2024 16:53:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0logger=20debug?= =?UTF-8?q?=E5=9F=8B=E7=82=B9=E8=BE=93=E5=87=BA=20feat=20#459?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin-collection-manager/src/server/models/field.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/plugins/@nocobase/plugin-collection-manager/src/server/models/field.ts b/packages/plugins/@nocobase/plugin-collection-manager/src/server/models/field.ts index 462fb62ae..819dd69db 100644 --- a/packages/plugins/@nocobase/plugin-collection-manager/src/server/models/field.ts +++ b/packages/plugins/@nocobase/plugin-collection-manager/src/server/models/field.ts @@ -37,6 +37,7 @@ export class FieldModel extends MagicAttributeModel { const field = await (async () => { await new Promise((resolve) => setTimeout(resolve, 0)); + this.db.logger.debug('埋点debug———— collectionName:' + collectionName + 'options:' + JSON.stringify(options)); return collection.setField(name, options); })();