Home > @rushstack/terminal > ITerminal > writeWarningLine
ITerminal.writeWarningLine() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Write a warning message to the console with yellow text, followed by a newline.
Signature:
writeWarningLine(...messageParts: TerminalWriteParameters): void;
Parameters
Parameter | Type | Description |
|---|---|---|
messageParts |
Returns:
void
Remarks
The yellow color takes precedence over any other foreground colors set.