diff options
Diffstat (limited to 'script/provider/diagnostic.lua')
-rw-r--r-- | script/provider/diagnostic.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua index ac93dc52..ef61d0c3 100644 --- a/script/provider/diagnostic.lua +++ b/script/provider/diagnostic.lua @@ -141,7 +141,7 @@ function m.clear(uri) uri = uri, diagnostics = {}, }) - log.debug('clearDiagnostics', uri) + log.info('clearDiagnostics', uri) end function m.clearCache(uri) @@ -370,7 +370,7 @@ function m.awaitDiagnosticsScope(suri) local bar <close> = progress.create(scope.getScope(suri), lang.script.WORKSPACE_DIAGNOSTIC, 1) local cancelled bar:onCancel(function () - log.debug('Cancel workspace diagnostics') + log.info('Cancel workspace diagnostics') cancelled = true ---@async await.call(function () @@ -398,12 +398,12 @@ function m.awaitDiagnosticsScope(suri) xpcall(m.doDiagnostic, log.error, uri, true) await.delay() if cancelled then - log.debug('Break workspace diagnostics') + log.info('Break workspace diagnostics') break end end bar:remove() - log.debug(('Diagnostics scope [%s] finished, takes [%.3f] sec.'):format(scp:getName(), os.clock() - clock)) + log.info(('Diagnostics scope [%s] finished, takes [%.3f] sec.'):format(scp:getName(), os.clock() - clock)) end function m.diagnosticsScope(uri, force) |