diff --git a/autoload/SpaceVim/api/logger.vim b/autoload/SpaceVim/api/logger.vim index 68f8e5f7e..850e0dd02 100644 --- a/autoload/SpaceVim/api/logger.vim +++ b/autoload/SpaceVim/api/logger.vim @@ -54,10 +54,10 @@ endfunction function! s:self._build_msg(msg, l) abort let msg = a:msg let time = strftime('%H:%M:%S') - let log = printf('[ %s ] [%s] [%00.3f] [ %5s ] %s', + let log = printf('[ %s ] [%s] [%8S] [ %5s ] %s', \ self.name, \ time, - \ s:TIME.reltimefloat(reltime(self.clock)), + \ printf('%00.3f' ,s:TIME.reltimefloat(reltime(self.clock))), \ self.levels[a:l], \ msg) return log