diff options
author | Joshua Peraza <jperaza@chromium.org> | 2018-11-26 15:12:38 -0800 |
---|---|---|
committer | Joshua Peraza <jperaza@chromium.org> | 2018-11-27 16:12:23 +0000 |
commit | 3bc301d4f9fd00911cbb26c90a9e6e829c4b14bc (patch) | |
tree | e09fe7001ce77c48f9eac8a6b4ddcc506e203176 /src | |
parent | Add mac dump_syms support for arm64e (diff) | |
download | breakpad-3bc301d4f9fd00911cbb26c90a9e6e829c4b14bc.tar.xz |
Conditionally define BPLOG_LAZY_STREAM
This allows BPLOG_LAZY_STREAM to be overridden by BP_LOGGING_INCLUDE
Change-Id: I5c9ec19b619ad5db9e97f3a1813b0f965a357b38
Reviewed-on: https://chromium-review.googlesource.com/c/1351361
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
Diffstat (limited to 'src')
-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 af539a4f..a9f30920 100644 --- a/src/processor/logging.h +++ b/src/processor/logging.h @@ -147,9 +147,11 @@ int ErrnoString(string *error_string); #define BPLOG_INIT(pargc, pargv) #endif // BPLOG_INIT +#ifndef BPLOG_LAZY_STREAM #define BPLOG_LAZY_STREAM(stream, condition) \ !(condition) ? (void) 0 : \ google_breakpad::LogMessageVoidify() & (BPLOG_ ## stream) +#endif #ifndef BPLOG_MINIMUM_SEVERITY #define BPLOG_MINIMUM_SEVERITY SEVERITY_INFO |