1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00
This commit is contained in:
wsdjeg 2017-04-26 20:34:27 +08:00
parent 8baf984f8f
commit 63dd572190

View File

@ -33,7 +33,7 @@ function! SpaceVim#logger#warn(msg) abort
endfunction endfunction
function! SpaceVim#logger#error(msg) abort function! SpaceVim#logger#error(msg) abort
if g:spacevim_enable_debug && s:logger_level <= 3 if get(g:, 'spacevim_enable_debug', 1) && s:logger_level <= 3
call s:wite(s:warpMsg(a:msg, 3)) call s:wite(s:warpMsg(a:msg, 3))
else else
call add(s:log_temp,s:warpMsg(a:msg,3)) call add(s:log_temp,s:warpMsg(a:msg,3))