blob: 79c6fc788e7e89d5fd4e8644f773c0bacba31095
1 | // |
2 | // |
3 | // amlogic 2013 |
4 | // |
5 | // @ Project : tv |
6 | // @ File Name : CTvDatabase.h |
7 | // @ Date : 2013-11 |
8 | // @ Author : |
9 | // |
10 | // |
11 | #include <utils/Log.h> |
12 | #if !defined(_CTVLOG_H) |
13 | #define _CTVLOG_H |
14 | |
15 | #define LOGD(...) \ |
16 | { \ |
17 | __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__); } |
18 | |
19 | |
20 | #define LOGE(...) \ |
21 | { \ |
22 | __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__); } |
23 | |
24 | #define LOGW(...) \ |
25 | { \ |
26 | __android_log_print(ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__); } |
27 | |
28 | |
29 | //class CTvLog{ |
30 | // public: |
31 | // inline static void LOGD(); |
32 | // inline static void LOGW(); |
33 | // inline static void LOGE(); |
34 | //}; |
35 | #endif // |
36 |