cli icon indicating copy to clipboard operation
cli copied to clipboard

Feature(command-dev): improve functions logging

Open erezrokah opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Functions logs are currently interleaved with other CLI output. It would be great if we can prefix those with the function name and colour code the name

Describe the solution you'd like

If a function calls console.log (or any other relevant console method) the log should be prefixed with the colour coded name of the function.

Describe alternatives you've considered

None that I can think of

Additional context

This is especially useful for background functions which are long running and it is harder to track their logs.

Can you submit a pull request?

Yes

erezrokah avatar Nov 12 '20 17:11 erezrokah