Closed ak-coram closed 3 years ago
Sorry, my mistake: I see there's already a new release which fixes the compatibility issues. I still get these warnings though.
Thanks for the report, we might have missed something. I'll have a look.
Hey @ak-coram any chance you could try out https://github.com/lambdaisland/glogi/pull/11 ? I'm holding off on merging because I want to figure out the CI setup this time, but it should work fine now on both current and older ClojureScripts.
@plexus: most of the warnings are gone with #11, this is the only one remaining:
WARNING: Wrong number of args (1) passed to goog.log/getLogger at line 64 /home/ak/.gitlibs/libs/lambdaisland/glogi/f4434c47684a8c5006008aea51790fe44d5d49ba/src/lambdaisland/glogi.cljs
I'm guessing using apply
would get rid of the arity check (and the warning) if that's what you're after.
Strangely I'm not able to reproduce that warning, but I pushed a fix for it nonetheless, please try out:
[lambdaisland/glogi "1.0.100"]
{lambdaisland/glogi {:mvn/version "1.0.100"}}
@plexus: thank you, there are no more warnings with this version.
The new ClojureScript release includes the Closure Library version 0.0-20201211-3e6c510d, which contains some breaking changes regarding the logging modules:
https://clojurescript.org/news/2021-04-06-release
These changes seem to make glögi inoperable: