()
| 293 | } |
| 294 | |
| 295 | private get shouldEmitAndLogCommand(): boolean { |
| 296 | return ( |
| 297 | (this.monitorCommands || |
| 298 | (this.established && |
| 299 | !this.authContext?.reauthenticating && |
| 300 | this.mongoLogger?.willLog(MongoLoggableComponent.COMMAND, SeverityLevel.DEBUG))) ?? |
| 301 | false |
| 302 | ); |
| 303 | } |
| 304 | |
| 305 | public markAvailable(): void { |
| 306 | this.lastUseTime = processTimeMS(); |