diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-25 12:12:35 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-11-18 10:43:15 -0500 |
commit | ce8ae49c9437086a886af631d3f618ec338637d0 (patch) | |
tree | b3b41a6ac2544c83ca7a8c6d4bb040cb3c4c37f1 /src/common/torlog.h | |
parent | bd8ad674b913582b6f8e5b85ac722e14598d681b (diff) | |
download | tor-ce8ae49c9437086a886af631d3f618ec338637d0.tar.gz tor-ce8ae49c9437086a886af631d3f618ec338637d0.zip |
Improve new assertion message logging
Don't report that a failure happened in the assertion_failed function just
because we logged it from there.
Diffstat (limited to 'src/common/torlog.h')
-rw-r--r-- | src/common/torlog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/torlog.h b/src/common/torlog.h index 903237940e..d210c8b249 100644 --- a/src/common/torlog.h +++ b/src/common/torlog.h @@ -102,6 +102,9 @@ /** This log message is not safe to send to a callback-based logger * immediately. Used as a flag, not a log domain. */ #define LD_NOCB (1u<<31) +/** This log message should not include a function name, even if it otherwise + * would. Used as a flag, not a log domain. */ +#define LD_NOFUNCNAME (1u<<30) /** Mask of zero or more log domains, OR'd together. */ typedef uint32_t log_domain_mask_t; |