From 36d86035dbcebbdee288e75221493547fb6afe04 Mon Sep 17 00:00:00 2001 From: Mitchell Hanberg Date: Tue, 20 Jun 2023 11:55:26 -0700 Subject: [PATCH] fix: prefix logs with [NextLS] (#12) --- lib/next_ls.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/next_ls.ex b/lib/next_ls.ex index d0f70ebe..74197430 100644 --- a/lib/next_ls.ex +++ b/lib/next_ls.ex @@ -162,7 +162,7 @@ defmodule NextLS do wait_until(fn -> NextLS.Runtime.ready?(runtime) end) do - GenLSP.error(lsp, "Failed to start runtime") + GenLSP.error(lsp, "[NextLS] Failed to start runtime") raise "Failed to boot runtime" end @@ -297,7 +297,7 @@ defmodule NextLS do end def handle_info({:log, message}, lsp) do - GenLSP.log(lsp, String.trim(message)) + GenLSP.log(lsp, "[NextLS] " <> String.trim(message)) {:noreply, lsp} end