mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:30: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
|
" the name projectmanager is too long
|
||||||
" use rooter instead
|
" use rooter instead
|
||||||
let s:LOGGER =SpaceVim#logger#derive('rooter')
|
let s:LOGGER =SpaceVim#logger#derive('rooter')
|
||||||
|
call s:LOGGER.start_debug()
|
||||||
let s:TIME = SpaceVim#api#import('time')
|
let s:TIME = SpaceVim#api#import('time')
|
||||||
let s:JSON = SpaceVim#api#import('data#json')
|
let s:JSON = SpaceVim#api#import('data#json')
|
||||||
let s:LIST = SpaceVim#api#import('data#list')
|
let s:LIST = SpaceVim#api#import('data#list')
|
||||||
|
@ -7,6 +7,11 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
|
|
||||||
local logger = require('spacevim.logger').derive('project')
|
local logger = require('spacevim.logger').derive('project')
|
||||||
|
|
||||||
|
|
||||||
|
-- start debug mode
|
||||||
|
logger.start_debug()
|
||||||
|
|
||||||
local sp = require('spacevim')
|
local sp = require('spacevim')
|
||||||
local sp_file = require('spacevim.api.file')
|
local sp_file = require('spacevim.api.file')
|
||||||
local sp_json = require('spacevim.api.data.json')
|
local sp_json = require('spacevim.api.data.json')
|
||||||
|
Loading…
Reference in New Issue
Block a user