diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-15 18:57:17 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-30 14:42:52 -0500 |
commit | bf64564e37c5fc01111bc476d1b93890b15a18bf (patch) | |
tree | cc79149a2a7946de5bfd173bf098b518ab4a3df5 /src/common/torlog.h | |
parent | 6a02f9f35a824ced871de7bb80c8266b873a0710 (diff) | |
download | tor-bf64564e37c5fc01111bc476d1b93890b15a18bf.tar.gz tor-bf64564e37c5fc01111bc476d1b93890b15a18bf.zip |
Add a GUARD log domain, for use with new guards code
Diffstat (limited to 'src/common/torlog.h')
-rw-r--r-- | src/common/torlog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/torlog.h b/src/common/torlog.h index 6732a42741..bc957858d9 100644 --- a/src/common/torlog.h +++ b/src/common/torlog.h @@ -99,8 +99,10 @@ #define LD_CHANNEL (1u<<21) /** Scheduler */ #define LD_SCHED (1u<<22) +/** Guard nodes */ +#define LD_GUARD (1u<<23) /** Number of logging domains in the code. */ -#define N_LOGGING_DOMAINS 23 +#define N_LOGGING_DOMAINS 24 /** This log message is not safe to send to a callback-based logger * immediately. Used as a flag, not a log domain. */ |