mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
✨ Make frontend app setup logging message more easy to be read
Mainly printing flag per line, making it more easily for human eye look if some feature is active or not
This commit is contained in:
parent
667b5fb6ee
commit
089a66881c
1 changed files with 7 additions and 6 deletions
|
@ -30,20 +30,21 @@
|
|||
[app.util.i18n :as i18n]
|
||||
[app.util.theme :as theme]
|
||||
[beicon.v2.core :as rx]
|
||||
[cuerdas.core :as str]
|
||||
[debug]
|
||||
[features]
|
||||
[potok.v2.core :as ptk]
|
||||
[rumext.v2 :as mf]))
|
||||
|
||||
(log/setup! {:app :info})
|
||||
(log/set-level! :debug)
|
||||
|
||||
(when (= :browser cf/target)
|
||||
(log/info :version (:full cf/version)
|
||||
(log/inf :version (:full cf/version)
|
||||
:asserts *assert*
|
||||
:build-date cf/build-date
|
||||
:public-uri (dm/str cf/public-uri))
|
||||
(log/info :flags (str/join "," (map name cf/flags))))
|
||||
(doseq [flag cf/flags]
|
||||
(log/dbg :hint "flag enabled" :flag (name flag))))
|
||||
|
||||
(declare reinit)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue