stderr() public method
Prints a string to STDERR
You may optionally format the string with ANSI codes by passing additional parameters using the constants defined in yii\helpers\Console.
Example:
$this->stderr('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE);
 | public integer|boolean stderr ( $string ) | ||
|---|---|---|
| $string | string | 
 The string to print  |  
| return | integer|boolean | 
 Number of bytes printed or false on error  |  
Please login to continue.