diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-18 22:56:40 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-18 22:56:40 +0000 |
commit | 1bd3f6cc9a98302c64be24036d89a1d12c16c5f8 (patch) | |
tree | 0cc1948f884e779aa9182f085c3c3c4fc20f66a9 /src/common | |
parent | 55f2ab9cc3c8f2422576f2354d88afdcd9a88e71 (diff) | |
download | tor-1bd3f6cc9a98302c64be24036d89a1d12c16c5f8.tar.gz tor-1bd3f6cc9a98302c64be24036d89a1d12c16c5f8.zip |
Update more files to new log stuff.
svn:r5286
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/log.h | 16 |
1 files changed, 16 insertions, 0 deletions
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); |