public function saveHistory($status)
    {
        try {
            History::create(['type' => 'custom',
                             'meta' => $this->getSafeName(),
                             'value' => $this->getValue(),
                             'record' => [
                                'status' => $status
                             ],
            ]);
        } catch (Exception $e) {
            $this->eye->logger()->error('Custom witness history save failed', $e, $this->getSafeName());
        }
    }
public function saveHistory($status)
    {
        try {
            History::create(['type' => 'custom',
                             'meta' => $this->getSafeName(),
                             'value' => $this->getValue(),
                             'record' => [
                                'status' => $status
                             ],
            ]);
        } catch (Exception $e) {
            $this->eye->logger()->error('Custom witness history save failed', $e, $this->getSafeName());
        }
    }
public function saveHistory ( $ status ) { try { History :: create ( [ 'type' => 'custom' , 'meta' => $ this -> getSafeName ( ) , 'value' => $ this -> getValue ( ) , 'record' => [ 'status' => $ status ] , ] ) ; } catch ( Exception $ e ) { $ this -> eye -> logger ( ) -> error ( 'Custom witness history save failed' , $ e , $ this -> getSafeName ( ) ) ; } }
Save the custom witness history.

@param  bool  $status
@return void
Save the custom witness history .