[Mapbender-commits] r1745 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Oct 26 06:25:06 EDT 2007


Author: christoph
Date: 2007-10-26 06:25:06 -0400 (Fri, 26 Oct 2007)
New Revision: 1745

Modified:
   trunk/mapbender/http/classes/class_mb_exception.php
Log:
added prefix "ERROR", "warning" and "notice" to log entry

Modified: trunk/mapbender/http/classes/class_mb_exception.php
===================================================================
--- trunk/mapbender/http/classes/class_mb_exception.php	2007-10-26 10:23:44 UTC (rev 1744)
+++ trunk/mapbender/http/classes/class_mb_exception.php	2007-10-26 10:25:06 UTC (rev 1745)
@@ -70,7 +70,7 @@
 	var $level = "notice";
 	
 	function mb_notice($message) {
-		$this->mb_log($message, $this->level);
+		$this->mb_log("Notice: " . $message, $this->level);
 	}
 }
 
@@ -78,7 +78,7 @@
 	var $level = "warning";
 	
 	function mb_warning($message) {
-		$this->mb_log($message, $this->level);
+		$this->mb_log("Warning: " . $message, $this->level);
 	}
 }
 
@@ -86,7 +86,7 @@
 	var $level = "error";
 	
 	function mb_exception($message) {
-		$this->mb_log($message, $this->level);
+		$this->mb_log("ERROR: " . $message, $this->level);
 	}
 }
 ?>
\ No newline at end of file



More information about the Mapbender_commits mailing list