Skip to content

Commit

Permalink
fix: redirect log messages to stderr (#208)
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 0b0048f commit c3ab60f
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 c3ab60f

Please sign in to comment.