MCPcopy
hub / github.com/electric-sql/pglite / log

Method log

packages/pglite-socket/src/index.ts:360–364  ·  view source on GitHub ↗

* Log a message if debug is enabled * @private

(message: string, ...args: any[])

Source from the content-addressed store, hash-verified

358 * @private
359 */
360 private log(message: string, ...args: any[]): void {
361 if (this.debug) {
362 console.log(`[PGLiteSocketServer] ${message}`, ...args)
363 }
364 }
365
366 /**
367 * Start the socket server

Callers 15

constructorMethod · 0.95
startMethod · 0.95
stopMethod · 0.95
handleConnectionMethod · 0.95
enqueueConnectionMethod · 0.95
processNextInQueueMethod · 0.95
fetchClientFunction · 0.45
sync.test.tsFile · 0.45
updateSubscriptionStateFunction · 0.45
syncShapesToTablesFunction · 0.45
commitUpToLsnFunction · 0.45

Calls

no outgoing calls

Tested by 1

fetchClientFunction · 0.36