| POE-Component-Supervisor documentation | Contained in the POE-Component-Supervisor distribution. |
POE::Component::Supervisor::LogDispatch - Logging role
with qw(POE::Component::Supervisor::LogDispatch);
This is a variation on MooseX::LogDispatch that ensures that a global Log::Dispatch::Config singleton will be respected.
| POE-Component-Supervisor documentation | Contained in the POE-Component-Supervisor distribution. |
#!/usr/bin/perl package POE::Component::Supervisor::LogDispatch; use Moose::Role; use namespace::clean -except => 'meta'; with qw(MooseX::LogDispatch); # borked due to role impl... =P # has '+use_logger_singleton' => ( default => 1 ); has 'use_logger_singleton' => ( is => "rw", isa => "Bool", default => 1 ); __PACKAGE__ __END__