 (def format-messages (comp (partial map error-msg-format) get-essential-messages))
 
 (defn default-on-compile-fail [{:keys [formatted-exception exception-data] :as ed}]
-  (.log js/console "%cFigwheel: Compile Exception" log-style)
+  (.debug js/console "Figwheel: Compile Exception")
   (doseq [msg (format-messages exception-data)]
     (.log js/console msg))
   ed)
 
 (defn default-before-load [files]
-  (.log js/console "%cFigwheel: loading files" log-style)
+  (.debug js/console "Figwheel: loading files")
   #_(.log js/console (prn-str (mapv :file files)))
   files)
 
 (defn default-on-cssload [files]
-  (.log js/console "%cFigwheel: loaded CSS files" log-style)
+  (.debug js/console "Figwheel: loaded CSS files")
   (.log js/console (prn-str (map :file files)))
   files)
 

(defn watch-and-reload* [{:keys [retry-count websocket-url
                                 jsload-callback
                                 on-compile-fail] :as opts}]
    (.log js/console "%cFigwheel: trying to open cljs reload socket" log-style)  
    (let [socket (js/WebSocket. websocket-url)]
      (set! (.-onmessage socket) (fn [msg-str]
                                   (let [msg (read-string (.-data msg-str))]

                                       nil))))
      (set! (.-onopen socket)  (fn [x]
                                 (patch-goog-base)
                                 (.debug js/console "Figwheel: socket connection established")))
      (set! (.-onclose socket) (fn [x]
                                 (log opts "Figwheel: socket closed or failed to open")
                                 (when (> retry-count 0)
