unjs/consola

Users should be able to easily align multiline messages with the start of the first line message after the decoration

trevor-vaughan opened this issue · 0 comments

Describe the feature

Presently, when I print a message with a console decoration such as ERROR or WARN, multi-line strings are left aligned after the decoration as follows:

ERROR My message
goes here

For better readability, I would like to be able to justify all text with the start of the text on the first line as follows:

ERROR My message
      goes here

Additional information

  • Would you be willing to help implement this feature?