summaryrefslogtreecommitdiff
path: root/server-beta/src/log.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-09-19 21:15:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-09-19 21:15:27 +0800
commitfc87521bd165f4d1d273d01749b13b841c61595d (patch)
tree2e143f1fe0509ebfa7536c28180b02478d55783c /server-beta/src/log.lua
parentaa4c8b521fc5a8417725a23dfc3d68bc8aae01d3 (diff)
downloadlua-language-server-fc87521bd165f4d1d273d01749b13b841c61595d.zip
更新
Diffstat (limited to 'server-beta/src/log.lua')
-rw-r--r--server-beta/src/log.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/server-beta/src/log.lua b/server-beta/src/log.lua
index 2f249a50..cd62df97 100644
--- a/server-beta/src/log.lua
+++ b/server-beta/src/log.lua
@@ -30,7 +30,7 @@ local function init_log_file()
end
end
-local function push_log(level, ...)
+local function pushLog(level, ...)
if not log.path then
return
end
@@ -68,23 +68,23 @@ local function push_log(level, ...)
end
function log.info(...)
- push_log('info', ...)
+ pushLog('info', ...)
end
function log.debug(...)
- push_log('debug', ...)
+ pushLog('debug', ...)
end
function log.trace(...)
- push_log('trace', ...)
+ pushLog('trace', ...)
end
function log.warn(...)
- push_log('warn', ...)
+ pushLog('warn', ...)
end
function log.error(...)
- push_log('error', ...)
+ pushLog('error', ...)
end
function log.init(root, path)