mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 07:09:23 +02:00
fix(config/log): show error in config instead of hiding (#1751)
This commit is contained in:
parent
5deb0e57ce
commit
9e18c16b2b
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue