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
If I create a parent logger
const logger = pino({name: 'parent', level: 'debug'})
and a child logger,
const child = logger.child({name: 'child'})
the child logger will inherit the log level from the parent. But if I later update the parent logger's level,
logger.level = 'error'
this does not change child.level. Is this intended behavior? Perhaps there could be an option to cascade level changes towards a logger's descendants?
child.level
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I create a parent logger
and a child logger,
the child logger will inherit the log level from the parent. But if I later update the parent logger's level,
this does not change
child.level
. Is this intended behavior? Perhaps there could be an option to cascade level changes towards a logger's descendants?The text was updated successfully, but these errors were encountered: