Skip to content

Commit c3ab60f

Browse files
authored
fix: redirect log messages to stderr (#208)
This makes error logs show up in VSCode's error window without interfering with communication over stdout.
1 parent 0b0048f commit c3ab60f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/config.exs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ import Config
22

33
config :next_ls, :indexing_timeout, 100
44

5+
config :logger, :default_handler, config: [type: :standard_error]
6+
57
import_config "#{config_env()}.exs"

0 commit comments

Comments
 (0)