summaryrefslogtreecommitdiff
path: root/src/common/log.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-18 22:21:29 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-18 22:21:29 +0000
commit55f2ab9cc3c8f2422576f2354d88afdcd9a88e71 (patch)
treef4ce32a0f85eff36acec88dc4ed5d3c3ec1b8bed /src/common/log.h
parentedf56984749e86badfceabb644d5d2fdc0bc6d76 (diff)
downloadtor-55f2ab9cc3c8f2422576f2354d88afdcd9a88e71.tar.gz
tor-55f2ab9cc3c8f2422576f2354d88afdcd9a88e71.zip
Migrate a few more files to domained logging
svn:r5285
Diffstat (limited to 'src/common/log.h')
-rw-r--r--src/common/log.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/common/log.h b/src/common/log.h
index 596bb1d991..c13566bacb 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -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);