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

log clean

上级 2f1b8a37
......@@ -612,7 +612,11 @@ export class Wechaty extends EventEmitter implements Sayable {
const eventNameList: PuppetEventName[] = Object.keys(PUPPET_EVENT_DICT) as PuppetEventName[]
for (const eventName of eventNameList) {
log.verbose('Wechaty', 'initPuppetEventBridge() puppet.on(%s) registered', eventName)
log.verbose('Wechaty',
'initPuppetEventBridge() puppet.on(%s) (listenerCount:%s) registering...',
eventName,
puppet.listenerCount(eventName),
)
switch (eventName) {
case 'dong':
......@@ -814,8 +818,6 @@ export class Wechaty extends EventEmitter implements Sayable {
this.options.name || '',
this.version(),
)
log.verbose('Wechaty', 'puppet: %s', this.options.puppet)
log.verbose('Wechaty', 'name: %s', this.options.name)
log.verbose('Wechaty', 'id: %s', this.id)
if (this.state.on()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册