1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:20:05 +08:00

fix(log): enable debug mode by default

This commit is contained in:
wsdjeg 2023-04-24 23:36:18 +08:00
parent 88c885bb41
commit 1c4e847fd5
2 changed files with 2 additions and 3 deletions

View File

@ -206,8 +206,7 @@ else
let s:derive = {}
let s:derive.origin_name = s:LOGGER.get_name()
" let s:derive._debug_mode = v:false
let s:derive._debug_mode = 0
let s:derive._debug_mode = 1
function! s:derive.info(msg) abort
call s:LOGGER.set_name(self.derive_name)

View File

@ -106,7 +106,7 @@ end
function M.derive(name)
local derive = {
origin_name = logger.get_name(),
_debug_mode = false,
_debug_mode = true,
derive_name = fn.printf('%' .. fn.strdisplaywidth(logger.get_name()) .. 'S', name),
}