mirror of
https://github.com/taoensso/telemere.git
synced 2025-12-17 09:51:12 +00:00
[fix] [#52] signal-preamble-fn should use host info in signal (@marksto)
This commit is contained in:
parent
78ed4d7f14
commit
410ed8914c
1 changed files with 5 additions and 1 deletions
|
|
@ -529,7 +529,11 @@
|
||||||
(when level (s+spc (format-level level)))
|
(when level (s+spc (format-level level)))
|
||||||
|
|
||||||
(if kind (s+spc (sigs/upper-qn kind)) (s+spc "DEFAULT"))
|
(if kind (s+spc (sigs/upper-qn kind)) (s+spc "DEFAULT"))
|
||||||
#?(:clj (s+spc (hostname)))
|
|
||||||
|
#?(:clj
|
||||||
|
(when-let [host (get signal :host)]
|
||||||
|
(when-let [hostname (get host :name)]
|
||||||
|
(s+spc hostname))))
|
||||||
|
|
||||||
(when ns
|
(when ns
|
||||||
(enc/sb-append sb " " ns)
|
(enc/sb-append sb " " ns)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue