Improve logging ordering of message parts

This commit is contained in:
Andrey Antukh 2022-04-04 09:26:05 +02:00 committed by Andrés Moya
parent ca02999ae9
commit df4b92fb6b
2 changed files with 61 additions and 48 deletions

View file

@ -7,6 +7,7 @@
(ns debug
(:require
[app.common.data :as d]
[app.common.logging :as l]
[app.common.pages.helpers :as cph]
[app.common.transit :as t]
[app.common.uuid :as uuid]
@ -25,6 +26,12 @@
[potok.core :as ptk]
[promesa.core :as p]))
(defn ^:export set-logging
([level]
(l/set-level! :app (keyword level)))
([ns level]
(l/set-level! (keyword ns) (keyword level))))
(def debug-options
#{;; Displays the bounding box for the shapes
:bounding-boxes