summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-29 16:37:07 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-29 16:37:07 +0800
commit0bcbaabbc9748bc96ae637dbd5d219bedd20e4f2 (patch)
tree514be88e3a2eb19ade77bf2594818ad3439409a7 /script/proto
parent6ae7d738fc5f6916ba9c6cdd907bebd49365f41a (diff)
downloadlua-language-server-0bcbaabbc9748bc96ae637dbd5d219bedd20e4f2.zip
add log
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/proto.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua
index 7cdc461c..e692c205 100644
--- a/script/proto/proto.lua
+++ b/script/proto/proto.lua
@@ -154,7 +154,7 @@ function m.doMethod(proto)
local response <close> = function ()
local passed = os.clock() - clock
if passed > 0.2 then
- log.debug(('Method [%s] takes [%.3f]sec.'):format(method, passed))
+ log.debug(('Method [%s] takes [%.3f]sec. %s'):format(method, passed, util.dump(proto)))
end
--log.debug('Finish method:', method)
if not proto.id then