diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-11-19 17:48:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-11-19 17:48:40 +0800 |
commit | 3fd972facc6dfb859d71899309723243b7b93880 (patch) | |
tree | c8826db23766ded68326972683e14b80b4cd0ad1 /src/lsp.lua | |
parent | c25e44113af96356dddf8098c375e2537ebb1b4d (diff) | |
download | lua-language-server-3fd972facc6dfb859d71899309723243b7b93880.zip |
减少无用日志
Diffstat (limited to 'src/lsp.lua')
-rw-r--r-- | src/lsp.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lsp.lua b/src/lsp.lua index 563f7919..eeb4e560 100644 --- a/src/lsp.lua +++ b/src/lsp.lua @@ -59,10 +59,7 @@ function mt:_readAsContent(header) local id = res.id local method = res.method local params = res.params - log.debug(('执行任务[%s],ID[%s]'):format(method, id)) - local clock = os.clock() local response, err = self:_callback(method, params) - log.debug(('任务[%s]执行完毕,耗时[%.3f]秒,ID[%s]'):format(method, os.clock() - clock, id)) if response then self:_send { id = id, |