summaryrefslogtreecommitdiff
path: root/android/cutils
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-10-17 11:31:41 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-10-17 17:13:03 +0300
commit172b03b6440bb0a70b9d5db2b1abd2cf5b836bbf (patch)
tree798deae04780bfef3a5f7fd359419e64be28229e /android/cutils
parent402e81b418f22019ab62b12ef6618af6ca16a904 (diff)
downloadbluez-172b03b6440bb0a70b9d5db2b1abd2cf5b836bbf.tar.gz
android: Add cutils/log.h
Diffstat (limited to 'android/cutils')
-rw-r--r--android/cutils/log.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/android/cutils/log.h b/android/cutils/log.h
new file mode 100644
index 000000000..d87da72f0
--- /dev/null
+++ b/android/cutils/log.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2007 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _CUTILS_LOG_H
+#define _CUTILS_LOG_H
+
+#define ALOGV(...)
+#define ALOGD(...)
+#define ALOGI(...)
+#define ALOGW(...)
+#define ALOGE(...)
+#define LOG_ALWAYS_FATAL(...) do { ALOGE(__VA_ARGS__); exit(1); } while (0)
+
+#endif // _CUTILS_LOG_H