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
Now:
import roarr from 'roarr' const log1 = roarr.child({ namespace: 'parent' }) const log2 = log1.child({ namespace: 'first_child' })
log2 will only have namespace: 'first_child'
namespace: 'first_child'
My expectation: namespace: 'parent:first_child'
namespace: 'parent:first_child'
The text was updated successfully, but these errors were encountered:
You will need to get the last namespace and append it, i.e.
const log1 = roarr.child({ namespace: 'parent' }) const log2 = log1.child({ namespace: log1.getContext().namespace + ':first_child' })
Sorry, something went wrong.
No branches or pull requests
Now:
log2 will only have
namespace: 'first_child'
My expectation:
namespace: 'parent:first_child'
The text was updated successfully, but these errors were encountered: