0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Fix raw logging on cljs.

This commit is contained in:
Andrey Antukh 2022-01-19 11:28:50 +01:00 committed by Andrés Moya
parent 0c53aa158b
commit 11ea4c7aec

View file

@ -168,7 +168,7 @@
`(write-log! ~(or logger (str *ns*)) `(write-log! ~(or logger (str *ns*))
~level ~level
~cause ~cause
~(dissoc props :level :cause ::logger ::raw)) (or ~raw ~(dissoc props :level :cause ::logger ::raw)))
(let [props (dissoc props :level :cause ::logger ::async ::raw) (let [props (dissoc props :level :cause ::logger ::async ::raw)
logger (or logger (str *ns*)) logger (or logger (str *ns*))
logger-sym (gensym "log") logger-sym (gensym "log")