X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FObject%2FRemote%2FLogging%2FLogger.pm;h=78f3890b899e661dc36d1125e676c7a129e5b7df;hb=a577b9530c7c091e6800bca9dca4fd03c37ce039;hp=a75bd30e0c4e3c1c2116bbf8da4b206e0581c7eb;hpb=7322b9505041db634e6f083563ac7901214cd2f4;p=scpubgit%2FObject-Remote.git diff --git a/lib/Object/Remote/Logging/Logger.pm b/lib/Object/Remote/Logging/Logger.pm index a75bd30..78f3890 100644 --- a/lib/Object/Remote/Logging/Logger.pm +++ b/lib/Object/Remote/Logging/Logger.pm @@ -48,8 +48,8 @@ sub AUTOLOAD { } sub _build_max_level { - my ($self) = @_; - return $self->level_names->[-1]; + my ($self) = @_; + return $self->level_names->[-1]; } sub _build__level_active { @@ -175,7 +175,7 @@ Object::Remote::Logging::Logger - Format and output a log message #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', )); @@ -304,7 +304,7 @@ received the log message on the local interpreter if the log message was forward =item %r -Log::Remote connection information rendered into a string. +Object::Remote connection information rendered into a string. =item %c