From 089a66881c5816c37a42d405e781a6a327531943 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 20 Jan 2025 12:30:30 +0100 Subject: [PATCH] :sparkles: 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 --- frontend/src/app/main.cljs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/main.cljs b/frontend/src/app/main.cljs index e9824671f1..57929dfe5d 100644 --- a/frontend/src/app/main.cljs +++ b/frontend/src/app/main.cljs @@ -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) - :asserts *assert* - :build-date cf/build-date - :public-uri (dm/str cf/public-uri)) - (log/info :flags (str/join "," (map name cf/flags)))) + (log/inf :version (:full cf/version) + :asserts *assert* + :build-date cf/build-date + :public-uri (dm/str cf/public-uri)) + (doseq [flag cf/flags] + (log/dbg :hint "flag enabled" :flag (name flag)))) (declare reinit)