MCPcopy
hub / github.com/prisma/prisma / export

Method export

packages/query-plan-executor/src/log/event.ts:67–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 }
66
67 export(): ExportableLogEvent {
68 return {
69 level: this.level,
70 spanId: `${this.traceId}-${this.spanId}`,
71 timestamp: instantToHrTime(this.timestamp),
72 message: this.message,
73 attributes: serializeExtendedAttributes(this.attributes),
74 }
75 }
76}
77
78function serializeExtendedAttributes(attributes: ExtendedAttributes): Attributes {

Callers 2

event.test.tsFile · 0.45

Calls 2

instantToHrTimeFunction · 0.90

Tested by

no test coverage detected