remove traceback logs

neovim_0.6^2
ray-x 2 years ago
parent c1b0694bef
commit aba0d89745

@ -185,7 +185,6 @@ if _NgConfigValues.debug_console_output then
end end
M._log = require('guihua.log').new(default_config, true) M._log = require('guihua.log').new(default_config, true)
print('log instance', vim.inspect(M._log))
if _NgConfigValues.debug then if _NgConfigValues.debug then
-- add log to you lsp.log -- add log to you lsp.log
@ -195,8 +194,6 @@ if _NgConfigValues.debug then
M.error = M._log.error M.error = M._log.error
M.log = M.info M.log = M.info
else else
print(vim.inspect(debug.traceback()))
print('log disabled', _NgConfigValues.debug)
M.log = function(...) M.log = function(...)
return { ... } return { ... }
end end

Loading…
Cancel
Save