lexical-lsp / vscode-lexical

VSCode extension for Lexical, the modern Elixir language server
Apache License 2.0
36 stars 6 forks source link

feat: Adds a Logger module which unifies production and development l… #69

Closed Blond11516 closed 7 months ago

Blond11516 commented 7 months ago

Fixes #10

Adds a Logger module which logs to both the vscode output channel as well as the development console.

Luckily, because we're using the LogOutputChannel we don't need to manage log level configuration at all. Log levels are configurable by the user through VsCode's Developer: Set Log Level... command. For now, everything is always logged to the development console.

Because there aren't a ton of logs I opted to log almost everything at the info level, which is enabled by default in VsCode.