diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2024-04-18 18:13:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2024-04-18 18:13:04 +0800 |
commit | 9bce7bedebc352b22f26ee3572ce3407b555b770 (patch) | |
tree | cd690a678fcf542f8dcfbeec78c10b2f1f5d615e /script | |
parent | e1e7926500c28026f358b40d0e512279b65fb34f (diff) | |
download | lua-language-server-9bce7bedebc352b22f26ee3572ce3407b555b770.zip |
和客户端连接模式的日志
Diffstat (limited to 'script')
-rw-r--r-- | script/proto/proto.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua index 78400f97..5193fc9a 100644 --- a/script/proto/proto.lua +++ b/script/proto/proto.lua @@ -231,6 +231,7 @@ end function m.listen(mode, socketPort) m.mode = mode if mode == 'stdio' then + log.info('Listen Mode: stdio') if platform.os == 'windows' then local windows = require 'bee.windows' windows.filemode(io.stdin, 'b') @@ -246,6 +247,10 @@ function m.listen(mode, socketPort) local server = net.listen('unix', unixPath) + log.info('Listen Mode: socket') + log.info('Listen Port:', socketPort) + log.info('Listen Path:', unixPath) + assert(server) local dummyClient = { |