lambdaisland / glogi

A ClojureScript logging library based on goog.log
Mozilla Public License 2.0
119 stars 13 forks source link

allow passing in :line #28

Open dehli opened 1 year ago

dehli commented 1 year ago

👋 Hello! Thanks for all your work on this library! My reasoning for this PR is that I sometimes will add log/* to a macro. Inside of my macro, the &form is accessible however it's not accessible to log-expr in lambdaisland.glogi. This allows me to pass :line in as part of the macro and not have it overridden with nil. Thanks and let me know if you'd like any changes!