We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
setBindings
Replica:
import { pino } from "pino" export const logger = pino({ browser: { serialize: true, asObject: true, }, customLevels: { d: 1, i: 2, w: 3, // ... } })
produces TypeError: logger.setBindings is not a function
TypeError: logger.setBindings is not a function
Alternative:
- import { pino } from "pino" + import pino from "pino"
Use default export fixes the problem for now.
The text was updated successfully, but these errors were encountered:
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.
Sorry, something went wrong.
It this a JS or a TS bug?
No branches or pull requests
Replica:
produces
TypeError: logger.setBindings is not a function
Alternative:
Use default export fixes the problem for now.
The text was updated successfully, but these errors were encountered: