You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by dr...@apache.org on 2010/01/06 20:13:33 UTC

svn commit: r896625 - /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js

Author: drobiazko
Date: Wed Jan  6 19:13:32 2010
New Revision: 896625

URL: http://svn.apache.org/viewvc?rev=896625&view=rev
Log:
Fixed interchanged debug and error output of Tapestry.Logging

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js?rev=896625&r1=896624&r2=896625&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry-console.js Wed Jan  6 19:13:32 2010
@@ -15,7 +15,8 @@
 		
 		debug: function(msg)
         {
-			Tapestry.Logging.updateConsole("t-err", msg);
+			if (Tapestry.DEBUG_ENABLED)
+				Tapestry.Logging.updateConsole("t-debug", msg);
         },
         
         warn: function(msg)
@@ -25,8 +26,7 @@
         
         error: function(msg)
         {
-        	if (Tapestry.DEBUG_ENABLED)
-    			Tapestry.Logging.updateConsole("t-debug", msg);
+    		Tapestry.Logging.updateConsole("t-err", msg);
         },
         
         /** Formats a message and updates the console. The console is virtual