From ce8ae49c9437086a886af631d3f618ec338637d0 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 25 Jul 2013 12:12:35 +0200 Subject: Improve new assertion message logging Don't report that a failure happened in the assertion_failed function just because we logged it from there. --- src/common/torlog.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/torlog.h') 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; -- cgit v1.2.3-54-g00ecf