提交 4db7a7f6 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

import log from puppet

上级 1157c5bb
......@@ -25,11 +25,10 @@ import os from 'os'
import Raven from 'raven'
import readPkgUp from 'read-pkg-up'
import { log } from 'brolog'
import {
FileBox,
MemoryCard,
log,
} from 'wechaty-puppet'
import {
......@@ -76,12 +75,6 @@ Raven.context(function () {
})
*/
const logLevel = process.env.WECHATY_LOG
if (logLevel) {
log.level(logLevel.toLowerCase() as any)
log.silly('Config', 'WECHATY_LOG set level to %s', logLevel)
}
/**
* to handle unhandled exceptions
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册