(message: string)
| 164 | } |
| 165 | |
| 166 | public log(message: string) { |
| 167 | this.lines[this.pointer] = message; |
| 168 | this.pointer = (this.pointer + 1) % this.size; |
| 169 | } |
| 170 | |
| 171 | public toString(): string { |
| 172 | return this.lines.slice(this.pointer, this.size).concat(this.lines.slice(0, this.pointer)).filter((l) => l).join("\n"); |
no outgoing calls
no test coverage detected