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
I have just upgraded the version of roarr logger from 2.15.4 to 3.2.0 within a Node 12.19.0 application.
I make use of printf message formatting extensively throughout the application. With v2.15.4, I had not encountered any issues with this. For example:
log.debug('Processing feed [%s] for %d agents', feedId, agentCount)
would work perfectly and output something like this:
Processing feed [abc123] for 25 agents
With roarr v3.2.0, however, the output is this:
Processing feed [abc123] for %d agents
In fact, the behaviour I am observing is that all substitution variables apart from the first one seem to be completely ignored.
To resolve the issue, I reverted to roarr v2.15.4.
The text was updated successfully, but these errors were encountered:
Yikes. Looks like http://npmjs.com/sprintfit only supports %s interpolation.
%s
Sorry, something went wrong.
Fixed in 5e264c9
🎉 This issue has been resolved in version 3.3.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
feat: replace printf implementation (fixes gajus#36)
5e264c9
No branches or pull requests
I have just upgraded the version of roarr logger from 2.15.4 to 3.2.0 within a Node 12.19.0 application.
I make use of printf message formatting extensively throughout the application. With v2.15.4, I had not encountered any issues with this. For example:
log.debug('Processing feed [%s] for %d agents', feedId, agentCount)
would work perfectly and output something like this:
Processing feed [abc123] for 25 agents
With roarr v3.2.0, however, the output is this:
Processing feed [abc123] for %d agents
In fact, the behaviour I am observing is that all substitution variables apart from the first one seem to be completely ignored.
To resolve the issue, I reverted to roarr v2.15.4.
The text was updated successfully, but these errors were encountered: