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 b42d558
Showing 1 changed file with 2 additions and 0 deletions.
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 b42d558

Please sign in to comment.