diff --git a/src/wechaty.ts b/src/wechaty.ts index 62f93cb1c32d183997db6dd06aea8d30bdcdf40e..df057bc59c8a69b05a5063760b88c80f60ff447d 100644 --- a/src/wechaty.ts +++ b/src/wechaty.ts @@ -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,9 +818,7 @@ 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) + log.verbose('Wechaty', 'id: %s', this.id) if (this.state.on()) { log.silly('Wechaty', 'start() on a starting/started instance')