From 1bd3f6cc9a98302c64be24036d89a1d12c16c5f8 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 18 Oct 2005 22:56:40 +0000 Subject: Update more files to new log stuff. svn:r5286 --- src/common/log.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/common') diff --git a/src/common/log.h b/src/common/log.h index c13566bacb..d31d866c74 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -51,16 +51,32 @@ #endif /* Logging domains */ + +/** Catch-all for miscellaneous events and internal errors and fatal + * errors. */ #define LD_GENERAL 0 +/** The cryptography subsytem */ #define LD_CRYPTO 1 +/** Networking */ #define LD_NET 2 +/** Parsing and acting on our configuration */ #define LD_CONFIG 3 +/** Reading and writing from the filesystem */ #define LD_FS 4 +/** Other servers' (non)compliance with the Tor protocol */ #define LD_PROTOCOL 5 +/** Memory management */ #define LD_MM 6 +/** HTTP implementation */ #define LD_HTTP 7 +/** Application (socks) requests */ #define LD_APP 8 +/** Communication via the controller protocol */ #define LD_CONTROL 9 +/** Building, using, and managing circuits */ +#define LD_CIRC 10 +/** Hidden services */ +#define LD_REND 11 typedef void (*log_callback)(int severity, int domain, const char *msg); -- cgit v1.2.3-54-g00ecf