Skip to content

Feature request: Possibility to use a custom verbose log format? #1124

@linuswillner

Description

@linuswillner

The verbose log function of this library is very handy, as it makes it possible to conveniently log even command runs passed in via template literal. Defining a wrapper function for those is a bit of a faff all said and told.

However, as might be expected, not everyone is using the same log format. That's the case for the project I'm working on, and I'd like the logs to be uniform. Would it be possible to add a way to customize the format used by the verbose parameter? I'd be more than happy with just passing in a function somewhere that can take the command that was just run as a parameter, format it however I need to, and return it to execa to be logged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions