fix(config/log): show error in config instead of hiding (#1751)

This commit is contained in:
Chase Colman 2021-10-12 23:33:41 +08:00 committed by GitHub
parent 5deb0e57ce
commit 9e18c16b2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ function Log:add_entry(msg, level)
end
local status_ok, plenary = pcall(require, "plenary")
if status_ok then
local default_opts = { plugin = "lunarvim", level = lvim.log.level }
local default_opts = { plugin = "lunarvim", level = lvim.log.level, info_level = 4 }
local handle = plenary.log.new(default_opts)
handle[level:lower()](msg)
self.__handle = handle