cli
cli copied to clipboard
Feature(command-dev): improve functions logging
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