mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 11:18:33 +02:00
🎉 Add unified logging api.
This commit is contained in:
parent
2eccf77986
commit
b64d5ef357
54 changed files with 361 additions and 413 deletions
|
@ -10,6 +10,7 @@
|
|||
[app.common.spec :as us]
|
||||
[app.common.uri :as u]
|
||||
[app.common.version :as v]
|
||||
[app.common.logging :as log]
|
||||
[app.util.avatars :as avatars]
|
||||
[app.util.dom :as dom]
|
||||
[app.util.globals :refer [global location]]
|
||||
|
@ -102,10 +103,6 @@
|
|||
(not (str/ends-with? (:path uri) "/"))
|
||||
(update :path #(str % "/")))))
|
||||
|
||||
(when (= :browser @target)
|
||||
(js/console.log
|
||||
(str/format "Welcome to penpot! version='%s' base-uri='%s'." (:full @version) (str public-uri))))
|
||||
|
||||
;; --- Helper Functions
|
||||
|
||||
(defn ^boolean check-browser? [candidate]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue