Skip to content

Feature(command-dev): improve functions logging #1557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
erezrokah opened this issue Nov 12, 2020 · 0 comments
Closed

Feature(command-dev): improve functions logging #1557

erezrokah opened this issue Nov 12, 2020 · 0 comments
Labels
area: functions type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@erezrokah
Copy link
Contributor

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 erezrokah added type: feature code contributing to the implementation of a feature and/or user facing functionality proj/bfn/background-functions labels Nov 12, 2020
@erezrokah erezrokah changed the title feature(command-dev): improve functions logging Feature(command-dev): improve functions logging Nov 19, 2020
@serhalp serhalp closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: functions type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

4 participants