Added the LOG macro to simplify logging :)
authorphil <none@none>
Wed, 11 Nov 1998 21:12:27 +0000 (21:12 +0000)
committerphil <none@none>
Wed, 11 Nov 1998 21:12:27 +0000 (21:12 +0000)
toolbox/loging.h

index d28472bb77905c83ebdd351416ee9ff84169955a..f6749b817b3a29b32fa5c5c7e7bbc918c9d303bf 100644 (file)
@@ -8,12 +8,18 @@
 
        Authors: Reinhard Grafl      EMAIL: cacao@complang.tuwien.ac.at
 
-       Last Change: 1996/10/03
+       Last Change: $Id: loging.h 65 1998-11-11 21:12:27Z phil $
 
 *******************************************************************************/
 
 #define PANICIF(when,txt)  if(when)panic(txt)
 
+/*
+ * Just added the LOG macro, so we our code becomes a little more
+ * readable, again. --phil.
+ */
+#define LOG(args...)               sprintf(logtext, ## args); dolog();
+
 #define MAXLOGTEXT 500
 extern char logtext[MAXLOGTEXT];