web-slate/react-chef

Add multi-line console log utility

Closed this issue · 0 comments

Create a utility to support multiline console log statements with Template Literals.

The utility takes an,

Parameter - Array (lines)

Each line object will contain -

- content - The text or literal content.
- noOfTrailingNewLines - Number of new lines at the end of the line.

Return - print multiline