Skip to content
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

feat: use default logger in DenoBridge #89

Merged
merged 2 commits into from
Aug 8, 2022
Merged

Conversation

eduardoboucas
Copy link
Member

In #85, the DenoBridge constructor requires a logger parameter, since a default is not offered. This breaks netlify/cli#4900, since CLI is using DenoBridge directly and it's not passing in a logger.

This PR makes the logger parameter optional and uses a default logger if one is not supplied.

@eduardoboucas eduardoboucas added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Aug 8, 2022
@eduardoboucas eduardoboucas requested a review from a team August 8, 2022 13:43
@eduardoboucas eduardoboucas merged commit 50b91e7 into main Aug 8, 2022
@danez danez deleted the feat/default-logger branch August 8, 2022 13:56
Skn0tt pushed a commit to netlify/build that referenced this pull request Apr 23, 2024
* feat: use default logger in DenoBridge

* refactor: use `getLogger` instead of `getDefaultLogger`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants