}
sub _build_max_level {
- my ($self) = @_;
- return $self->level_names->[-1];
+ my ($self) = @_;
+ return $self->level_names->[-1];
}
sub _build__level_active {
#router will hold this logger forever
#and send it all log messages
- router->connect(Object::Remote::Logging::WarnLogger->new(
+ router->connect(Object::Remote::Logging::Logger->new(
level_names => arg_levels, format => '%s at %f line %i, log level: %l'
min_level => 'warn', max_level => 'error',
));
=item %r
-Log::Remote connection information rendered into a string.
+Object::Remote connection information rendered into a string.
=item %c