use Scalar::Util qw(blessed);
use Object::Remote::Logging::Logger;
use Exporter::Declare;
-use Carp qw(carp croak);
extends 'Log::Contextual';
);
router()->connect(sub {
- my $controller = $_[1]->{controller};
+ my $controller = $_[1]->{exporter};
my $will_log = $controller_should_log{$controller};
my $remote_info = $_[1]->{object_remote};
#objects that will receive the messages
my $selector = sub {
my ($generating_package, $metadata) = @_;
- return unless $metadata->{controller} eq 'App::Logging::Subclass';
+ return unless $metadata->{exporter} eq 'App::Logging::Subclass';
return $app_output;
};