Skip to content

On logging #470

@pimeys

Description

@pimeys

We're trying to think about logging and how we can operate between Rust and JavaScript. What we're after here is our Rust code produces structured logs with tracing, and we'd like our JavaScript side to be able to catch whatever gets written to STDOUT with a callback, make something with the data and decide on writing to the output. I'd like to understand a bit about the best ways of doing this with napi.rs. Beforehand we had a separate process and we could have a pointer to the process output, but now we're int the same process so we might need to do something smarter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions