[pLog-svn] r3701 - plog/trunk/class/logger/layout
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Jul 6 12:54:48 GMT 2006
Author: oscar
Date: 2006-07-06 12:54:47 +0000 (Thu, 06 Jul 2006)
New Revision: 3701
Modified:
plog/trunk/class/logger/layout/patternlayout.class.php
Log:
removed a warning message
Modified: plog/trunk/class/logger/layout/patternlayout.class.php
===================================================================
--- plog/trunk/class/logger/layout/patternlayout.class.php 2006-07-06 12:52:45 UTC (rev 3700)
+++ plog/trunk/class/logger/layout/patternlayout.class.php 2006-07-06 12:54:47 UTC (rev 3701)
@@ -73,6 +73,7 @@
$info = PatternLayout::getStackTrace();
$result = "";
foreach( $info as $trace ) {
+ if( !isset($trace["file"])) $trace["file"] = "not available";
if( ($trace["function"] != "printStackTrace") && ($trace["file"] != __FILE__ )) {
isset($trace["file"]) ? $result .= $trace["file"] : $result .= "not available";
isset($trace["line"]) ? $result .= "(".$trace["line"]."): " : $result .= "(not available): ";
More information about the pLog-svn
mailing list