Feature(command-dev): improve functions logging #1557
Labels
area: functions
type: feature
code contributing to the implementation of a feature and/or user facing functionality
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 relevantconsole
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
The text was updated successfully, but these errors were encountered: