Skip to content

Commit

Permalink
fix: redirect log messages to stderr
Browse files Browse the repository at this point in the history
This makes error logs show up in VSCode's error window without
interfering with communication over stdout.
  • Loading branch information
fhunleth committed Aug 28, 2023
1 parent 3eb0b9d commit 800ed18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .rtx.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[tools]
elixir = "1.15.4"
erlang = "26.0.2"
elixir = "1.15.4-otp-26"
zig = "0.10.0"
2 changes: 2 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ import Config

config :next_ls, :indexing_timeout, 100

config :logger, :default_handler, config: [type: :standard_error]

import_config "#{config_env()}.exs"

0 comments on commit 800ed18

Please sign in to comment.