Skip to content

Commit

Permalink
加点日志
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed May 13, 2024
1 parent e1ab93a commit fe512ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions script/ltask2/service/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,13 @@ if LOGLEVEL then
log.level = tostring(LOGLEVEL):lower()
end

local version = require 'version'

log.info('Lua Lsp master startup, root: ', ROOT)
log.info('ROOT:', ROOT:string())
log.info('LOGPATH:', LOGPATH)
log.info('METAPATH:', METAPATH)
log.info('VERSION:', version.getVersion())

local _, service = xpcall(require, log.error, 'service')
service.start()

0 comments on commit fe512ba

Please sign in to comment.