We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bea27c commit 007a3f7Copy full SHA for 007a3f7
sqlcipher/src/main/jni/sqlcipher/ALog-priv.h
@@ -14,7 +14,7 @@
14
* limitations under the License.
15
*/
16
/*
17
-** Modified to support SQLite extensions by the SQLite developers:
+** Modified to support SQLite extensions by the SQLite developers:
18
** sqlite-dev@sqlite.org.
19
20
@@ -52,12 +52,20 @@
52
#endif
53
54
#ifndef ALOGD
55
+#if LOG_NDEBUG
56
+#define ALOGD(...) ((void)0)
57
+#else
58
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
59
60
+#endif
61
62
#ifndef ALOGI
63
64
+#define ALOGI(...) ((void)0)
65
66
#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
67
68
69
70
#ifndef ALOGW
71
#define ALOGW(...) ((void)ALOG(LOG_WARN, LOG_TAG, __VA_ARGS__))
0 commit comments