binder_parcel_fuzzer: separate logging variant
To make sure code compiles and also to be able to use it w/o changing
code.
Bug: N/A
Test: use both variants for a few minutes
Change-Id: I1fad4dd56e035507d710994eea361bfeb150d6cf
diff --git a/libs/binder/fuzzer/util.h b/libs/binder/fuzzer/util.h
index a28cd1e..aa504d2 100644
--- a/libs/binder/fuzzer/util.h
+++ b/libs/binder/fuzzer/util.h
@@ -23,12 +23,9 @@
#error "Must define FUZZ_LOG_TAG"
#endif
-// for local debugging
-#define ENABLE_LOG_FUZZ 0
-
#define FUZZ_LOG() FuzzLog(FUZZ_LOG_TAG).log()
-#if ENABLE_LOG_FUZZ == 1
+#ifdef ENABLE_LOG_FUZZ
class FuzzLog {
public:
FuzzLog(const char* tag) : mTag(tag) {}