1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 02:20:04 +08:00
SpaceVim/bundle/vim-chat/autoload/chat/logger.vim

31 lines
698 B
VimL
Raw Normal View History

2021-10-27 00:50:09 +08:00
"=============================================================================
" logger.vim --- logger of vim-chat
" Copyright (c) 2016-2019 Wang Shidong & Contributors
" Author: Wang Shidong < wsdjeg@outlook.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
2021-10-24 21:07:19 +08:00
let s:LOGGER =SpaceVim#logger#derive('vim-chat')
function! chat#logger#info(msg)
call s:LOGGER.info(a:msg)
endfunction
function! chat#logger#error(msg)
call s:LOGGER.error(a:msg)
endfunction
2021-10-27 00:50:09 +08:00
function! chat#logger#debug(msg) abort
call s:LOGGER.debug(a:msg)
endfunction
2021-10-24 21:07:19 +08:00
function! chat#logger#warn(msg)
call s:LOGGER.warn(a:msg)
endfunction