mirror of https://github.com/status-im/timbre.git
Fix regression: spit appender should print newlines (ristkari, ag0rex)
This commit is contained in:
parent
09c2d06031
commit
a995a7baf0
|
@ -168,7 +168,7 @@
|
|||
:min-level nil :enabled? false :async? false :rate-limit nil
|
||||
:fn (fn [{:keys [ap-config output]}] ; Can use any appender args
|
||||
(when-let [filename (:spit-filename ap-config)]
|
||||
(try (spit filename output :append true)
|
||||
(try (spit filename (str output "\n") :append true)
|
||||
(catch java.io.IOException _))))}}})
|
||||
|
||||
(utils/defonce* config (atom example-config))
|
||||
|
|
Loading…
Reference in New Issue