feat: 添加logger debug埋点输出 feat #459
This commit is contained in:
		
							parent
							
								
									93e9c3019f
								
							
						
					
					
						commit
						5955ad18cb
					
				| @ -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