summaryrefslogtreecommitdiff
path: root/lua/lvim/core/log.lua
diff options
context:
space:
mode:
authorChase Colman <[email protected]>2021-10-12 23:33:41 +0800
committerGitHub <[email protected]>2021-10-12 17:33:41 +0200
commit9e18c16b2b378792c689591190774786fd5da04c (patch)
treeb8215307ea35d9ce875f3a6c9b9a08de6586fdf6 /lua/lvim/core/log.lua
parent5deb0e57ce083fa836762b34e36ff48fbd3a535c (diff)
fix(config/log): show error in config instead of hiding (#1751)
Diffstat (limited to 'lua/lvim/core/log.lua')
-rw-r--r--lua/lvim/core/log.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lvim/core/log.lua b/lua/lvim/core/log.lua
index fca1fcb4..3d8c0dc8 100644
--- a/lua/lvim/core/log.lua
+++ b/lua/lvim/core/log.lua
@@ -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