src/IssueService.php
public function log($message, $flag)
    {
        $headers = [
            'token' => $this->token,
        ];

        $query = $this->processLog($message, $flag);

        $response = $this->curl::post($this->missionControlUrl, $headers, $query);

        if ($response->code != 200) {
            $this->error('Unable to message Mission Control, please confirm your token');
        }

        return true;
    }
public function log($message, $flag)
    {
        $headers = [
            'token' => $this->token,
        ];

        $query = $this->processLog($message, $flag);

        $response = $this->curl::post($this->missionControlUrl, $headers, $query);

        if ($response->code != 200) {
            $this->error('Unable to message Mission Control, please confirm your token');
        }

        return true;
    }
public function log ( $ message , $ flag ) { $ headers = [ 'token' => $ this -> token , ] ; $ query = $ this -> processLog ( $ message , $ flag ) ; $ response = $ this -> curl :: post ( $ this -> missionControlUrl , $ headers , $ query ) ; if ( $ response -> code != 200 ) { $ this -> error ( 'Unable to message Mission Control, please confirm your token' ) ; } return true ; }
Send the log to Mission Control

@param  string $message
@param  string $flag

@return bool
Send the log to Mission Control