log4js icon indicating copy to clipboard operation
log4js copied to clipboard

Does the logging work with parameterized messages?

Open beradrian opened this issue 9 years ago • 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", "!!!");

beradrian avatar Feb 04 '16 14:02 beradrian

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.

jagretz avatar Apr 05 '19 12:04 jagretz

PRs are still welcome.

stritti avatar Apr 07 '19 20:04 stritti