replaced entire logging subsystem with one that is fully operational with the followi...
[scpubgit/Object-Remote.git] / lib / Object / Remote / LogDestination.pm
diff --git a/lib/Object/Remote/LogDestination.pm b/lib/Object/Remote/LogDestination.pm
deleted file mode 100644 (file)
index 7cdbbd1..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-package Object::Remote::LogDestination;
-
-use Moo; 
-use Scalar::Util qw(weaken);
-
-has logger => ( is => 'ro', required => 1 );
-has subscriptions => ( is => 'ro', required => 1, default => sub { [] } ); 
-
-sub select {
-  my ($self, $router, $selector) = @_; 
-  my $subscription = $router->subscribe($self->logger, $selector); 
-  push(@{ $self->subscriptions }, $subscription);
-  return $self;
-}
-
-sub connect {
-  my ($self, $router) = @_; 
-  return $self->select($router, sub { 1 });
-}
-
-1; 
-
-