mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:20:05 +08:00
docs(logger): fix duplicate tags
This commit is contained in:
parent
b830d06ef6
commit
7fa11229a3
@ -57,7 +57,14 @@ if has('nvim-0.5.0')
|
||||
endif
|
||||
endfunction
|
||||
""
|
||||
" change the logger level of spacevim runtime log.
|
||||
" @public
|
||||
" Set debug level of SpaceVim. Default is 1.
|
||||
"
|
||||
" 1 : log all messages
|
||||
"
|
||||
" 2 : log warning and error messages
|
||||
"
|
||||
" 3 : log error messages only
|
||||
function! SpaceVim#logger#setLevel(level) abort
|
||||
lua require("spacevim.logger").setLevel(require("spacevim").eval("a:level"))
|
||||
endfunction
|
||||
@ -182,22 +189,10 @@ else
|
||||
call matchadd('WarningMsg','.*[\sWarn\s\].*')
|
||||
endfunction
|
||||
|
||||
""
|
||||
" @public
|
||||
" Set debug level of SpaceVim. Default is 1.
|
||||
"
|
||||
" 1 : log all messages
|
||||
"
|
||||
" 2 : log warning and error messages
|
||||
"
|
||||
" 3 : log error messages only
|
||||
function! SpaceVim#logger#setLevel(level) abort
|
||||
call s:LOGGER.set_level(a:level)
|
||||
endfunction
|
||||
|
||||
""
|
||||
" @public
|
||||
" Set the log output file of SpaceVim. Default is empty.
|
||||
function! SpaceVim#logger#setOutput(file) abort
|
||||
call s:LOGGER.set_file(a:file)
|
||||
endfunction
|
||||
|
@ -1665,7 +1665,13 @@ SpaceVim#logger#viewLog() *SpaceVim#logger#viewLog()*
|
||||
Print the debug information of spacevim, same as |:SPDebugInfo|
|
||||
|
||||
SpaceVim#logger#setLevel({level}) *SpaceVim#logger#setLevel()*
|
||||
change the logger level of spacevim runtime log.
|
||||
Set debug level of SpaceVim. Default is 1.
|
||||
|
||||
1 : log all messages
|
||||
|
||||
2 : log warning and error messages
|
||||
|
||||
3 : log error messages only
|
||||
|
||||
SpaceVim#logger#setOutput({file}) *SpaceVim#logger#setOutput()*
|
||||
change the output file of spacevim runtime logger. default is empty string.
|
||||
@ -1693,18 +1699,6 @@ SpaceVim#logger#derive({name}) *SpaceVim#logger#derive()*
|
||||
[ myplug ] [00:02:54:051] [ Info ] hello world
|
||||
<
|
||||
|
||||
SpaceVim#logger#setLevel({level}) *SpaceVim#logger#setLevel()*
|
||||
Set debug level of SpaceVim. Default is 1.
|
||||
|
||||
1 : log all messages
|
||||
|
||||
2 : log warning and error messages
|
||||
|
||||
3 : log error messages only
|
||||
|
||||
SpaceVim#logger#setOutput({file}) *SpaceVim#logger#setOutput()*
|
||||
Set the log output file of SpaceVim. Default is empty.
|
||||
|
||||
SpaceVim#plugins#iedit#start([options], [firstline], [lastline])
|
||||
*SpaceVim#plugins#iedit#start()*
|
||||
This is public function to evoke iedit with [options]. The default
|
||||
|
Loading…
Reference in New Issue
Block a user