stritti / log4js

Log4js - The Logging Framework for JavaScript with no runtime dependencies
https://stritti.github.io/log4js/
Apache License 2.0
449 stars 58 forks source link

Does the logging work with parameterized messages? #17

Open beradrian opened 8 years ago

beradrian commented 8 years ago

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

jagretz commented 5 years ago

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.

stritti commented 5 years ago

PRs are still welcome.