* Log a message if debug is enabled * @private
(message: string, ...args: any[])
| 63 | * @private |
| 64 | */ |
| 65 | private log(message: string, ...args: any[]): void { |
| 66 | if (this.debug) { |
| 67 | console.log(`[PGLiteSocketHandler#${this.id}] ${message}`, ...args) |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Attach a socket to this handler |
no test coverage detected