protected function status($code, lang_string $message) {
        if (array_key_exists($code, $this->statuses)) {
            throw new coding_exception('Status code already defined');
        }
        $this->statuses[$code] = $message;
    }
protected function status($code, lang_string $message) {
        if (array_key_exists($code, $this->statuses)) {
            throw new coding_exception('Status code already defined');
        }
        $this->statuses[$code] = $message;
    }
protected function status ( $ code , lang_string $ message ) { if ( array_key_exists ( $ code , $ this -> statuses ) ) { throw new coding_exception ( 'Status code already defined' ) ; } $ this -> statuses [ $ code ] = $ message ; }
Log a status

@param string $code status code.
@param lang_string $message status message.
@return void
Log a status