console.c
changeset 5380 8ea58542b6e0
parent 5182 1ea4df8be34e
child 5469 7edfc643abbc
--- a/console.c	Tue Dec 26 17:22:47 2006 +0000
+++ b/console.c	Tue Dec 26 17:36:18 2006 +0000
@@ -427,11 +427,13 @@
  * which is achieved by using this function. Can only be used by
  * @debug() in debug.c. You need at least a level 2 (developer) for debugging
  * messages to show up
+ * @param dbg debugging category
+ * @param string debugging message
  */
-void IConsoleDebug(const char *string)
+void IConsoleDebug(const char *dbg, const char *string)
 {
 	if (_stdlib_developer > 1)
-		IConsolePrintF(_icolour_dbg, "dbg: %s", string);
+		IConsolePrintF(_icolour_dbg, "dbg: [%s] %s", dbg, string);
 }
 
 /**