public static function warning($message)
    {
        Craft::$app->controller->stdout($message.PHP_EOL, Console::FG_YELLOW);
    }
public static function warning($message)
    {
        Craft::$app->controller->stdout($message.PHP_EOL, Console::FG_YELLOW);
    }
public static function warning ( $ message ) { Craft :: $ app -> controller -> stdout ( $ message . PHP_EOL , Console :: FG_YELLOW ) ; }
Logs a warning message.

@param string|array $message the message to be logged. This can be a simple string or a more
complex data structure, such as array.
Logs a warning message .