ClojureScript 1.10.844 is out! 🎉
Hold your horses if you are using Figwheel Main. I get lots of warnings at startup:
[Figwheel:WARNING] Compile Warning resources/public/js/dev/figwheel/repl.cljc line:52 column:17
Wrong number of args (1) passed to goog.log/getLogger
47 ;; goog.debug.Logger.Level.(SEVERE WARNING INFO CONFIG FINE FINER FINEST)
48 ;;
49 ;; set level (.setLevel logger <http://goog.debug.Logger.Level.INFO|goog.debug.Logger.Level.INFO>)
50 ;; disable (.setCapturing log-console false)
51
52 (defonce logger (glog/getLogger "Figwheel REPL"))
^---
53
54 (defn ^:export console-logging []
55 (when-not (gobj/get goog.debug.Console "instance")
56 (let [c (goog.debug.Console.)]
57 ;; don't display time
[Figwheel:WARNING] Compile Warning resources/public/js/dev/figwheel/repl.cljc line:70 column:3
Wrong number of args (3) passed to goog.log/log
65 true))
66
67 (defonce log-console (console-logging))
68
69 (defn debug [msg]
70 (glog/log logger goog.debug.Logger.Level.FINEST msg))
^---
71
72 ;; TODO dev
73 #_(.setLevel logger goog.debug.Logger.Level.FINEST)
74
75 ;; --------------------------------------------------------------
The release notes talks about these changes to the latest Closure Library
Fixed by figwheel-main 0.2.13, released yesterday.
have a link for the change-log/announcement?
https://clojurescript.org/news/2021-04-06-release @nbtheduke
thank you!