Пример #1
0
 /**
  * Handles an error
  *
  * @param \r8\iface\Error $error The error to handle
  * @return NULL
  */
 public function handle(\r8\iface\Error $error)
 {
     $this->stream->write($this->formatter->format($error));
 }
Пример #2
0
 /**
  * @see \r8\iface\Log\Node::dispatch
  */
 public function dispatch(\r8\Log\Message $message)
 {
     $this->stream->write($message->__toString());
     return $this;
 }