perf: 抽取api

This commit is contained in:
xiaojunnuo
2021-01-06 23:29:10 +08:00
parent f07ce6f47d
commit 5312c11472
41 changed files with 5001 additions and 119 deletions
+7
View File
@@ -0,0 +1,7 @@
import log4js from 'log4js'
log4js.configure({
appenders: { std: { type: 'stdout' } },
categories: { default: { appenders: ['std'], level: 'info' } }
})
const logger = log4js.getLogger('certd')
export default logger