*/
protected $prefix;
-
/**
* @param string $stream Stream URI
* @param bool $useLegacyFilter Filter log events using legacy rules
}
}
-
/**
* Custom error handler.
* @param int $code Error number
$this->error = $msg;
}
-
/**
* Should we use UDP to send messages to the sink?
* @return bool
return $this->host !== null;
}
-
protected function write( array $record ) {
if ( $this->useLegacyFilter &&
!LegacyLogger::shouldEmit(
}
}
-
public function close() {
if ( is_resource( $this->sink ) ) {
if ( $this->useUdp() ) {