mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 00:14:14 +01:00
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>
This commit is contained in:
parent
e42f2456b7
commit
3bc301d4f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user