protected function log($message)
    {
        if ($this->target instanceof Log) {
            $this->target->debug($message);
        } elseif (is_resource($this->target)) {
            fwrite($this->target, $message . "\r\n");
        }
    }
protected function log($message)
    {
        if ($this->target instanceof Log) {
            $this->target->debug($message);
        } elseif (is_resource($this->target)) {
            fwrite($this->target, $message . "\r\n");
        }
    }
protected function log ( $ message ) { if ( $ this -> target instanceof Log ) { $ this -> target -> debug ( $ message ) ; } elseif ( is_resource ( $ this -> target ) ) { fwrite ( $ this -> target , $ message . "\r\n" ) ; } }
Logs the given message to the configured target.

@param string $message Message to display

@return void
Logs the given message to the configured target .