Declaration
public static void WriteParagraphs(
ConsoleColoredString message,
int hangingIndent = 0,
bool stdErr = false
)
Summary
Outputs the specified message to the console window, treating newlines as paragraph breaks. All paragraphs are
word-wrapped to fit in the console buffer, or to a sensible width if redirected to a file. Each paragraph is
indented by the number of spaces at the start of the corresponding line.
Parameters
ConsoleColoredString | message |
The message to output. |
int | hangingIndent |
Specifies a number of spaces by which the message is indented in all but the first line of each paragraph. |
bool | stdErr | true to print to Standard Error instead of Standard Output. |