mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-11 13:07:28 -05:00
fix(cli): redundant lines in stderr logs
This commit is contained in:
@@ -1034,7 +1034,7 @@ shown."
|
|||||||
(when message
|
(when message
|
||||||
(let ((output (apply #'doom-print--format message args)))
|
(let ((output (apply #'doom-print--format message args)))
|
||||||
;; One for the terminal, if the log level is high enough.
|
;; One for the terminal, if the log level is high enough.
|
||||||
(doom-print output :format nil :level doom-print-message-level)
|
(doom-print output :format nil :level doom-print-message-level :stream t)
|
||||||
;; And one for the logs...
|
;; And one for the logs...
|
||||||
(when (doom-cli-context-p context)
|
(when (doom-cli-context-p context)
|
||||||
(doom-print output :format nil :stream (doom-cli-context-stderr context) :level t)))
|
(doom-print output :format nil :stream (doom-cli-context-stderr context) :level t)))
|
||||||
|
Reference in New Issue
Block a user