summaryrefslogtreecommitdiff
path: root/script/workspace/workspace.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-07 11:45:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-07 11:45:23 +0800
commit484a6e70512948a125b28ac2803ae8ff469534e7 (patch)
tree8c473a1f74b614a9e7e603b110a3d2939a898bf6 /script/workspace/workspace.lua
parent924fd2c477e5cb16072d5c10f5522c938dceb3c6 (diff)
downloadlua-language-server-484a6e70512948a125b28ac2803ae8ff469534e7.zip
log path
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r--script/workspace/workspace.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index db72a8fe..99d71b48 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -36,6 +36,7 @@ function m.init(uri)
m.uri = uri
m.path = m.normalize(furi.decode(uri))
local logPath = fs.path(LOGPATH) / (uri:gsub('[/:]+', '_') .. '.log')
+ client.logMessage('Log', 'Log path: ' .. furi.encode(logPath:string()))
log.info('Log path: ', logPath)
log.init(ROOT, logPath)
end