public function startAction($message, $color = self::CWHITE, $microtime = null) {
        $this->endAction();
        $this->endProgressBar();
        $this->currentActionHadLogs = false;
        $this->pendingActionLogs = array();
        $this->currentAction = array('length' => 19 + strlen($this->timeTextSeparator) + $this->getTextLength($message),
            'errors' => false,
            'color' => $color,
            'message' => '',
            'time' => $microtime ? $microtime : microtime(true));
        $r = $this->color($message, $color);
        return $this->output($r);
    }
public function startAction($message, $color = self::CWHITE, $microtime = null) {
        $this->endAction();
        $this->endProgressBar();
        $this->currentActionHadLogs = false;
        $this->pendingActionLogs = array();
        $this->currentAction = array('length' => 19 + strlen($this->timeTextSeparator) + $this->getTextLength($message),
            'errors' => false,
            'color' => $color,
            'message' => '',
            'time' => $microtime ? $microtime : microtime(true));
        $r = $this->color($message, $color);
        return $this->output($r);
    }
public function startAction ( $ message , $ color = self :: CWHITE , $ microtime = null ) { $ this -> endAction ( ) ; $ this -> endProgressBar ( ) ; $ this -> currentActionHadLogs = false ; $ this -> pendingActionLogs = array ( ) ; $ this -> currentAction = array ( 'length' => 19 + strlen ( $ this -> timeTextSeparator ) + $ this -> getTextLength ( $ message ) , 'errors' => false , 'color' => $ color , 'message' => '' , 'time' => $ microtime ? $ microtime : microtime ( true ) ) ; $ r = $ this -> color ( $ message , $ color ) ; return $ this -> output ( $ r ) ; }
Start a new action
@param string $message
@param string $color one of class constants
@param int $microtime a custom start time;
@return string
Start a new action