use Tak::MetaService;
use Scalar::Util qw(weaken);
+use Log::Contextual qw(:log);
use Moo;
has services => (is => 'ro', default => sub { {} });
sub receive {
my ($self, $target, @payload) = @_;
return unless $target;
- return unless my $next = $self->services->{$target};
+ log_debug { "Message received for ${target}" };
+ return log_info { "Discarded message to ${target}" }
+ unless my $next = $self->services->{$target};
$next->receive(@payload);
}