@forklaunch/core 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__test__/index.d.mts +7 -1
- package/lib/__test__/index.d.ts +7 -1
- package/lib/__test__/index.js.map +1 -1
- package/lib/__test__/index.mjs.map +1 -1
- package/lib/src/cache/index.js.map +1 -1
- package/lib/src/cache/index.mjs +1 -1
- package/lib/src/cache/index.mjs.map +1 -1
- package/lib/src/http/index.js +2 -2
- package/lib/src/http/index.js.map +1 -1
- package/lib/src/http/index.mjs +3 -3
- package/lib/src/http/index.mjs.map +1 -1
- package/package.json +5 -5
package/lib/src/http/index.mjs
CHANGED
@@ -249,10 +249,11 @@ function isForklaunchRequest(request) {
|
|
249
249
|
}
|
250
250
|
|
251
251
|
// src/http/telemetry/pinoLogger.ts
|
252
|
-
import { isNever } from "@forklaunch/common";
|
252
|
+
import { isNever, safeStringify } from "@forklaunch/common";
|
253
253
|
import { trace as trace2 } from "@opentelemetry/api";
|
254
254
|
import { logs } from "@opentelemetry/api-logs";
|
255
255
|
import pino from "pino";
|
256
|
+
import PinoPretty from "pino-pretty";
|
256
257
|
|
257
258
|
// src/http/guards/isLoggerMeta.ts
|
258
259
|
function isLoggerMeta(arg) {
|
@@ -260,7 +261,6 @@ function isLoggerMeta(arg) {
|
|
260
261
|
}
|
261
262
|
|
262
263
|
// src/http/telemetry/pinoLogger.ts
|
263
|
-
import PinoPretty from "pino-pretty";
|
264
264
|
function meta(meta2) {
|
265
265
|
return meta2;
|
266
266
|
}
|
@@ -315,7 +315,7 @@ var PinoLogger = class _PinoLogger {
|
|
315
315
|
return false;
|
316
316
|
}
|
317
317
|
return true;
|
318
|
-
});
|
318
|
+
}).map(safeStringify);
|
319
319
|
const activeSpan = trace2.getActiveSpan();
|
320
320
|
if (activeSpan) {
|
321
321
|
const activeSpanContext = activeSpan.spanContext();
|