use Object::Remote::ModuleSender;
use Object::Remote::Handle;
use Object::Remote::Future;
+use Object::Remote::Logging qw( :log );
use Scalar::Util qw(blessed);
use Moo::Role;
return future {
$f->on_done(sub {
my ($conn) = $f->get;
+ my $sub = $conn->remote_sub('Object::Remote::Logging::init_logging_forwarding');
+ $sub->('Object::Remote::Logging', Object::Remote::Logging->arg_router);
Object::Remote::Handle->new(
connection => $conn,
class => 'Object::Remote::ModuleLoader',
$text .= "ENDFAT\n";
$text .= <<'END';
eval $Object::Remote::FatNode::DATA;
+die $@ if $@;
END
$text .= "__END__\n";
return $text;