summaryrefslogtreecommitdiff
path: root/lua/core/log.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/core/log.lua')
-rw-r--r--lua/core/log.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/core/log.lua b/lua/core/log.lua
index 1eb786ba..fca1fcb4 100644
--- a/lua/core/log.lua
+++ b/lua/core/log.lua
@@ -8,6 +8,7 @@ function Log:add_entry(msg, level)
if self.__handle then
-- plenary uses lower-case log levels
self.__handle[level:lower()](msg)
+ return
end
local status_ok, plenary = pcall(require, "plenary")
if status_ok then