prettier logs
Sebastian Riedel [Sun, 3 Apr 2005 18:48:12 +0000 (18:48 +0000)]
lib/Catalyst/Engine.pm

index 733e1ea..2182c47 100644 (file)
@@ -134,7 +134,7 @@ sub execute {
         {
             my $action = $c->actions->{reverse}->{"$code"};
             $action = "/$action" unless $action =~ /\-\>/;
-            $action = "    $action" if $callsub =~ /forward$/;
+            $action = "-> $action" if $callsub =~ /forward$/;
             my ( $elapsed, @state ) =
               $c->benchmark( $code, $class, $c, @{ $c->req->args } );
             push @{ $c->{stats} }, [ $action, sprintf( '%fs', $elapsed ) ];