aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log/log.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2018-11-22 19:00:21 +0100
committerNick Mathewson <nickm@torproject.org>2018-12-17 16:39:28 -0500
commitad4cc89c5d1987cbcb231bf054433c7f05b83a95 (patch)
treeebb35e92e920c622f12ac691310d32fa7261fe7d /src/lib/log/log.h
parentb0d268a82264f28f6b78f734d45a13e8272e70ea (diff)
downloadtor-ad4cc89c5d1987cbcb231bf054433c7f05b83a95.tar.gz
tor-ad4cc89c5d1987cbcb231bf054433c7f05b83a95.zip
Add "PT" log domain.
See: https://bugs.torproject.org/28179
Diffstat (limited to 'src/lib/log/log.h')
-rw-r--r--src/lib/log/log.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/log/log.h b/src/lib/log/log.h
index 1cd6087eb8..c8820ee037 100644
--- a/src/lib/log/log.h
+++ b/src/lib/log/log.h
@@ -109,8 +109,10 @@
#define LD_DOS (1u<<25)
/** Processes */
#define LD_PROCESS (1u<<26)
+/** Pluggable Transports. */
+#define LD_PT (1u<<27)
/** Number of logging domains in the code. */
-#define N_LOGGING_DOMAINS 27
+#define N_LOGGING_DOMAINS 28
/** This log message is not safe to send to a callback-based logger
* immediately. Used as a flag, not a log domain. */