You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by gr...@apache.org on 2009/05/20 08:04:32 UTC

svn commit: r776572 - /incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutHtml.php

Author: grobmeier
Date: Wed May 20 06:04:32 2009
New Revision: 776572

URL: http://svn.apache.org/viewvc?rev=776572&view=rev
Log:
added space for codestyle :-)

Modified:
    incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutHtml.php

Modified: incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutHtml.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutHtml.php?rev=776572&r1=776571&r2=776572&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutHtml.php (original)
+++ incubator/log4php/trunk/src/main/php/layouts/LoggerLayoutHtml.php Wed May 20 06:04:32 2009
@@ -132,7 +132,7 @@
           $sbuf .= "<font color=\"#339933\">";
           $sbuf .= $level->toString();
           $sbuf .= "</font>";
-        }elseif($level->equals(LoggerLevel::getLevelWarn())) {
+        } else if ($level->equals(LoggerLevel::getLevelWarn())) {
           $sbuf .= "<font color=\"#993300\"><strong>";
           $sbuf .= $level->toString();
           $sbuf .= "</strong></font>";
@@ -163,7 +163,6 @@
             $sbuf .= "NDC: " . htmlentities($event->getNDC(), ENT_QUOTES);
             $sbuf .= "</td></tr>" . PHP_EOL;
         }
-
         return $sbuf;
     }