(...msg)
| 307 | export default output |
| 308 | |
| 309 | function print(...msg) { |
| 310 | if (outputProcess) { |
| 311 | msg.unshift(outputProcess) |
| 312 | } |
| 313 | if (!newline) { |
| 314 | console.log() |
| 315 | newline = true |
| 316 | } |
| 317 | |
| 318 | console.log.apply(this, msg) |
| 319 | } |
| 320 | |
| 321 | function truncate(msg, gap = 0) { |
| 322 | if (msg.indexOf('\n') > 0 || outputLevel >= 3) { |
no test coverage detected