From 203e8ee297cfa8e70791e249691ecb9919b34d02 Mon Sep 17 00:00:00 2001 From: dy Date: Mon, 18 Dec 2023 20:20:01 +0800 Subject: [PATCH] trace log --- src/setMongodb.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/setMongodb.ts b/src/setMongodb.ts index d9e4d43..2e1c47a 100644 --- a/src/setMongodb.ts +++ b/src/setMongodb.ts @@ -641,9 +641,14 @@ FindCursor.prototype.toArray = async function(){ addGameLog("system","findCount",null,{ collection: this.namespace.collection, db:this.namespace.db, - filter: this.filter, count:rss.length }) + console.log("system,findCount",{ + collection: this.namespace.collection, + db:this.namespace.db, + count:rss.length + }) + console.trace(); } return rss; } \ No newline at end of file