mirror of https://github.com/status-im/timbre.git
Add output pattern TODO
This commit is contained in:
parent
545c278394
commit
2d38d2a970
|
@ -88,7 +88,7 @@
|
|||
:timestamp-pattern "yyyy-MMM-dd HH:mm:ss ZZ" ; SimpleDateFormat pattern
|
||||
:timestamp-locale nil ; A Locale object, or nil
|
||||
|
||||
;; Control :prefix format
|
||||
;; Control :prefix format ; TODO Generalize to output pattern
|
||||
:prefix-fn
|
||||
(fn [{:keys [level timestamp hostname ns]}]
|
||||
(str timestamp " " hostname " " (-> level name str/upper-case)
|
||||
|
|
Loading…
Reference in New Issue