mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
fix(project): enable debug mode of logger
This commit is contained in:
parent
f1c5d9890a
commit
f4b92a7183
@ -61,6 +61,7 @@ else
|
||||
" the name projectmanager is too long
|
||||
" use rooter instead
|
||||
let s:LOGGER =SpaceVim#logger#derive('rooter')
|
||||
call s:LOGGER.start_debug()
|
||||
let s:TIME = SpaceVim#api#import('time')
|
||||
let s:JSON = SpaceVim#api#import('data#json')
|
||||
let s:LIST = SpaceVim#api#import('data#list')
|
||||
|
@ -7,6 +7,11 @@
|
||||
--=============================================================================
|
||||
|
||||
local logger = require('spacevim.logger').derive('project')
|
||||
|
||||
|
||||
-- start debug mode
|
||||
logger.start_debug()
|
||||
|
||||
local sp = require('spacevim')
|
||||
local sp_file = require('spacevim.api.file')
|
||||
local sp_json = require('spacevim.api.data.json')
|
||||
|
Loading…
Reference in New Issue
Block a user