diff options
author | Joshua Peraza <jperaza@chromium.org> | 2018-10-12 09:19:13 -0700 |
---|---|---|
committer | Joshua Peraza <jperaza@chromium.org> | 2018-10-12 17:49:54 +0000 |
commit | 66571f4838b2306161f072555cb199049bc68142 (patch) | |
tree | 2c29433a5a9e5e64bbb65763cb5aa73496984714 | |
parent | Adds method to get the date of the most recent iOS crash report. (diff) | |
download | breakpad-66571f4838b2306161f072555cb199049bc68142.tar.xz |
Conditionally define BPLOG_IF
This allows BPLOG_IF to be overriden by defines in BP_LOGGING_INCLUDE.
Change-Id: Ic6e8373476cc4d1f73d55e13a23686a2c8309fdc
Reviewed-on: https://chromium-review.googlesource.com/c/1278104
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
-rw-r--r-- | src/processor/logging.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/processor/logging.h b/src/processor/logging.h index 97c2fe31..af539a4f 100644 --- a/src/processor/logging.h +++ b/src/processor/logging.h @@ -190,7 +190,9 @@ int ErrnoString(string *error_string); __FILE__, __LINE__) #endif // BPLOG_CRITICAL +#ifndef BPLOG_IF #define BPLOG_IF(severity, condition) \ BPLOG_LAZY_STREAM(severity, ((condition) && BPLOG_LOG_IS_ON(severity))) +#endif // BPLOG_IF #endif // PROCESSOR_LOGGING_H__ |