basic logging

This commit is contained in:
gmarik
2011-07-30 19:35:16 -05:00
parent 9ff2d24fe8
commit 5bf9f8c353
2 changed files with 18 additions and 1 deletions

View File

@@ -132,4 +132,10 @@ endf
func! s:system(cmd) abort
let output = system(a:cmd)
call s:log(output)
endf
func! s:log(str) abort
if !exists('g:vundle_log') | let g:vundle_log = [] | endif
call add(g:vundle_log, a:str)
endf