stritti/log4js

Does the logging work with parameterized messages?

Opened this issue · 2 comments

Something like logger.debug("Hello {1}", "world");. Also it would be good to actually log all the parameters, like logger.debug("Hello", "world", "!!!");

I created something for this. Let me see about cleaning it up and getting an example posted for you.

[EDIT] ...just realized the date of this issue was several years ago 😄 still... I created some string interpolation utilities for this same purpose so I'll post when I clean up the code.

PRs are still welcome.