| 58337 | }, opts.opts); |
| 58338 | } |
| 58339 | function decorateMessage(id, message, opts) { |
| 58340 | if (typeof message === "string") { |
| 58341 | const time = opts.time ? (0, _formatters.leftPad)((0, _formatters.formatTime)(opts.total)) : ""; |
| 58342 | message = opts.time ? "".concat(id, ": ").concat(time, " ").concat(message) : "".concat(id, ": ").concat(message); |
| 58343 | message = (0, _color.addColor)(message, opts.color, opts.background); |
| 58344 | } |
| 58345 | return message; |
| 58346 | } |
| 58347 | function logImageInNode(_ref2) { |
| 58348 | let { image , message ="" , scale =1 } = _ref2; |
| 58349 | let asciify = null; |