20use Psr\Log\LoggerInterface;
21use Psr\Log\LoggerAwareInterface;
22use Psr\Log\NullLogger;
35 $this->logger =
new NullLogger();
43 final public function notify( $channel, $event ) {
44 return $this->
doNotify( $channel, [ $event ] );
53 return $this->
doNotify( $channel, $events );
Base class for reliable event relays.
setLogger(LoggerInterface $logger)
notify( $channel, $event)
notifyMulti( $channel, $events)
doNotify( $channel, array $events)
__construct(array $params)
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))