James Sumners

Results 798 comments of James Sumners

This seems like application design to me. Resolve the path using `path.resolve(path.join())`.

I'm sorry. I don't "build" server side JavaScript.

The idea would be to receive a standard Pino generated NDJSON line and mutate it to the format described in the linked OT documentation. Adding trace/span ids is out of...

@mcollina would you like to bring this into the org?

What other signals do logger threads need?

What are the use cases for these changes?

https://github.com/pinojs/pino/blob/ef5e2e64164af01967b033c186910a6eb6f4cd7a/docs/api.md#serializers-object

This is not a recommended practice. Sharing global state means it is indeterministic what the status of that state is. Basically, you must make sure the global state is built...

Wrapping a Pino instance is really not that difficult. There shouldn't be any need to mutate the prototype.