mirror of https://github.com/status-im/timbre.git
[#172] Allow disabling ANSI colours with env var (@ccfontes)
This commit is contained in:
parent
606562cdcd
commit
81e779b630
|
@ -112,7 +112,9 @@
|
|||
#+clj :timestamp-opts
|
||||
#+clj default-timestamp-opts ; {:pattern _ :locale _ :timezone _}
|
||||
|
||||
:output-fn default-output-fn ; (fn [data]) -> string
|
||||
; (fn [data]) -> string
|
||||
:output-fn #(let [env (System/getenv "TIMBRE_NO_STACKTRACE_FONTS")]
|
||||
(default-output-fn (if env {:stacktrace-fonts {}}) %))
|
||||
|
||||
:appenders
|
||||
#+clj
|
||||
|
|
Loading…
Reference in New Issue