Skip to content

Conversation

@evanshortiss
Copy link
Contributor

This PR adds support for configurable log levels.

It's neat that pino is used as the logger, but currently it can only be toggled on/off. This PR will support passing a logLevel in the options passed to the runtime.

This PR defaults the log level to info which provides the same behaviour as the previous true value, so it shouldn't affect people who are OK with the existing defaults when they update.

Copy link
Member

@lance lance left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @evanshortiss! This is a nice improvement. :)

@lance lance merged commit b6f8be4 into nodeshift:main Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants