src/TaskLogger.php
public function beginError(string $message, array $context = []) {
        return $this->begin(LogLevel::ERROR, $message, $context);
    }
public function beginError(string $message, array $context = []) {
        return $this->begin(LogLevel::ERROR, $message, $context);
    }
public function beginError ( string $ message , array $ context = [ ] ) { return $ this -> begin ( LogLevel :: ERROR , $ message , $ context ) ; }
Output an error message that designates the beginning of a task.

@param string $message The message to output.
@param array $context Context variables to pass to the message.
@return $this
Output an error message that designates the beginning of a task .