feat(platform): log setSearch mesh-on cache miss with scope at debug
When an unchanged setSearch call does not hit the search cache with mesh enabled, emit a dedicated debug line with scope and includeMesh true. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -1205,6 +1205,12 @@ class PearcordPlatform extends EventEmitter {
|
||||
includeMesh: false
|
||||
})
|
||||
}
|
||||
} else if (this._searchIncludeMesh) {
|
||||
this.log.debug('guild.search setSearch mesh-on cache miss', {
|
||||
scope: this._searchScope,
|
||||
queryLen: String(this._searchQuery || '').length,
|
||||
includeMesh: true
|
||||
})
|
||||
}
|
||||
this.log.debug(
|
||||
this._searchIncludeMesh ? 'guild.search unchanged' : 'guild.search unchanged mesh-off',
|
||||
|
||||
Reference in New Issue
Block a user