diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-01-13 15:45:06 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-03-25 16:35:33 -0400 |
commit | a62ac1719887f0756ceb516ce3b12cd2aee18191 (patch) | |
tree | b7a895aa35161abe919aa1cb9de08902b8d36e61 /src/test/test.c | |
parent | 253fea84cf9504a733db6979e2fc140a8c702615 (diff) | |
download | tor-a62ac1719887f0756ceb516ce3b12cd2aee18191.tar.gz tor-a62ac1719887f0756ceb516ce3b12cd2aee18191.zip |
Add a new inline function to check whether debug logging is on
We already do this in our log_debug() macro, but there are times
when we'd like to avoid allocating or precomputing something that we
are only going to log if debugging is on.
Diffstat (limited to 'src/test/test.c')
0 files changed, 0 insertions, 0 deletions