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:
parent
88c885bb41
commit
1c4e847fd5
@ -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)
|
||||
|
@ -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),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user