From d086077b0ecd351319504f3e0fcef9912c4fedb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 5 Jul 2022 14:10:24 +0800 Subject: update log --- script/provider/provider.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'script') diff --git a/script/provider/provider.lua b/script/provider/provider.lua index ac952715..f10fb66e 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -28,7 +28,7 @@ local function updateConfig(uri) local specified = cfgLoader.loadLocalConfig(uri, CONFIGPATH) if specified then log.info('Load config from specified', CONFIGPATH) - log.debug(inspect(specified)) + log.info(inspect(specified)) -- watch directory filewatch.watch(workspace.getAbsolutePath(uri, CONFIGPATH):gsub('[^/\\]+$', '')) config.update(scope.override, specified) @@ -38,14 +38,14 @@ local function updateConfig(uri) local clientConfig = cfgLoader.loadClientConfig(folder.uri) if clientConfig then log.info('Load config from client', folder.uri) - log.debug(inspect(clientConfig)) + log.info(inspect(clientConfig)) end local rc = cfgLoader.loadRCConfig(folder.uri, '.luarc.json') or cfgLoader.loadRCConfig(folder.uri, '.luarc.jsonc') if rc then log.info('Load config from .luarc.json/.luarc.jsonc', folder.uri) - log.debug(inspect(rc)) + log.info(inspect(rc)) end config.update(folder, clientConfig, rc) @@ -53,7 +53,7 @@ local function updateConfig(uri) local global = cfgLoader.loadClientConfig() log.info('Load config from client', 'fallback') - log.debug(inspect(global)) + log.info(inspect(global)) config.update(scope.fallback, global) end -- cgit v1.2.3