MCPcopy
hub / github.com/prisma/prisma / format

Method format

packages/query-plan-executor/src/log/format.ts:35–35  ·  view source on GitHub ↗

* Formats a log event for console output. * * @param event The log event to format * @returns An array of format string and parameters suitable for console methods

(event: LogEvent)

Source from the content-addressed store, hash-verified

33 * @returns An array of format string and parameters suitable for console methods
34 */
35 format(event: LogEvent): unknown[]
36}
37
38/**

Callers 5

format.test.tsFile · 0.65
writeMethod · 0.65
formatWasmFunction · 0.65
formatMethod · 0.65

Implementers 4

JsonFormatterpackages/query-plan-executor/src/log/f
TextFormatterpackages/query-plan-executor/src/log/f
FileWriterpackages/cli/src/init/file-writer.ts
GeneratedFilespackages/cli/src/init/generated-files.

Calls

no outgoing calls

Tested by

no test coverage detected