[or-cvs] Migrate a few more files to domained logging

Nick Mathewson nickm at seul.org
Tue Oct 18 22:21:31 UTC 2005


Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv9530/src/common

Modified Files:
	log.h 
Log Message:
Migrate a few more files to domained logging

Index: log.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/log.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- log.h	18 Oct 2005 21:58:19 -0000	1.48
+++ log.h	18 Oct 2005 22:21:29 -0000	1.49
@@ -51,12 +51,16 @@
 #endif
 
 /* Logging domains */
-#define LD_GENERAL 0
-#define LD_CRYPTO  1
-#define LD_NET     2
-#define LD_CONFIG  3
-#define LD_FS      4
+#define LD_GENERAL  0
+#define LD_CRYPTO   1
+#define LD_NET      2
+#define LD_CONFIG   3
+#define LD_FS       4
 #define LD_PROTOCOL 5
+#define LD_MM       6
+#define LD_HTTP     7
+#define LD_APP      8
+#define LD_CONTROL  9
 
 typedef void (*log_callback)(int severity, int domain, const char *msg);
 



More information about the tor-commits mailing list