1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-15 08:09:11 +08:00

fix(logger): add SpaceVim#logger#debug function

This commit is contained in:
Shidong Wang 2021-11-15 22:21:14 +08:00
parent 0eb3ee0f90
commit 5c63ce1fec
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848

View File

@ -85,6 +85,12 @@ else
endfunction
function! SpaceVim#logger#debug(msg) abort
call s:LOGGER.debug(a:msg)
endfunction
function! SpaceVim#logger#viewRuntimeLog() abort
let info = "### SpaceVim runtime log :\n\n"
let info .= s:LOGGER.view(s:LOGGER.level)