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.
pragma once
logs.hpp
1 parent 8a4bec1 commit 5d293c0Copy full SHA for 5d293c0
package/cpp/logs.hpp
@@ -1,7 +1,10 @@
1
+#pragma once
2
+
3
+#define LOG_TAG "react-native-nitro-sqlite"
4
5
#ifdef ANDROID
6
// LOGS ANDROID
7
#include <android/log.h>
-#define LOG_TAG "react-native-nitro-sqlite"
8
#define LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__)
9
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)
10
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
@@ -11,7 +14,6 @@
11
14
#else
12
15
// LOGS NO ANDROID
13
16
#include <stdio.h>
17
#define LOGV(...) \
18
printf(" "); \
19
printf(__VA_ARGS__); \
0 commit comments