diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-26 10:03:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-26 10:03:29 +0800 |
commit | b24f10ffeab4c9298f17a4b51aa67f29f3b29a0d (patch) | |
tree | 8afb21410c9627ef4e4eb2bc4b0fd94ae9304992 /server | |
parent | acf3e53057a29a94361b8406a98572d32828e366 (diff) | |
download | lua-language-server-b24f10ffeab4c9298f17a4b51aa67f29f3b29a0d.zip |
改一下日志
Diffstat (limited to 'server')
-rw-r--r-- | server/src/config.lua | 2 | ||||
-rw-r--r-- | server/src/service.lua | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/server/src/config.lua b/server/src/config.lua index 2c18d0d0..fb406ec3 100644 --- a/server/src/config.lua +++ b/server/src/config.lua @@ -65,7 +65,7 @@ local function setConfig(self, config) end end end - log.debug('配置更新:', table.dump(Config)) + log.debug('Config update: ', table.dump(Config)) end) end diff --git a/server/src/service.lua b/server/src/service.lua index 92c24664..85d55543 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -204,7 +204,7 @@ function mt:readText(uri, path, buf, compiled) end local text = buf or io.load(path) if not text then - log.debug('无法找到文件:', path) + log.debug('No file: ', path) return end self._file[uri] = { @@ -449,7 +449,6 @@ function mt:doDiagnostics(uri) return end if res then - log.debug('诊断:', uri, obj.version) rpc:notify(name, { uri = uri, diagnostics = res, |