(type: string)
| 27 | } |
| 28 | |
| 29 | private getMsgPrefix(type: string): string { |
| 30 | if (this.name && this.name.length > 0) { |
| 31 | return `[${this.name}][event-${type}]`; |
| 32 | } else { |
| 33 | return `[*][event-${type}]`; |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | private getLogger(): Logger { |
| 38 | if (this.name && this.name.length > 0) { |
no outgoing calls
no test coverage detected