MCPcopy
hub / github.com/prisma/prisma / JsonFormatter

Class JsonFormatter

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

Source from the content-addressed store, hash-verified

53 * Formatter that outputs log events as JSON strings.
54 */
55export class JsonFormatter implements ConsoleFormatter {
56 format(event: LogEvent): unknown[] {
57 return ['%s', JSON.stringify(event)]
58 }
59}
60
61type Fragment = {
62 fmt: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected