diff options
author | jy910.yun <jy910.yun@samsung.com> | 2014-11-05 21:42:00 +0900 |
---|---|---|
committer | jy910.yun <jy910.yun@samsung.com> | 2014-11-06 21:55:21 +0900 |
commit | dab55ee02cbae6318ff69494a4977adae8c6d245 (patch) | |
tree | c13e5a8593663e0394eeba6aa0e529a371b24096 /include/device-internal.h | |
parent | 25f730f660c4193863d2c7c3304e6b4ada048c36 (diff) | |
download | libdevice-node-dab55ee02cbae6318ff69494a4977adae8c6d245.tar.gz libdevice-node-dab55ee02cbae6318ff69494a4977adae8c6d245.tar.bz2 libdevice-node-dab55ee02cbae6318ff69494a4977adae8c6d245.zip |
device-node: Rename the logging macros
Change DEVERR/DEVLOG macros to _E/_D macros
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Idd4593e6b271addfb2f0ee8a091223b0267161cf
Diffstat (limited to 'include/device-internal.h')
-rw-r--r-- | include/device-internal.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/device-internal.h b/include/device-internal.h index 7e3dbb7..e4e84ff 100644 --- a/include/device-internal.h +++ b/include/device-internal.h @@ -33,11 +33,13 @@ #ifdef FEATURE_DEVICE_NODE_DLOG #define LOG_TAG "DEVICE_NODE" #include <dlog.h> -#define DEVLOG(fmt, args...) SLOGD(fmt, ##args) -#define DEVERR(fmt, args...) SLOGE(fmt, ##args) +#define _I(fmt, args...) SLOGI(fmt, ##args) +#define _D(fmt, args...) SLOGD(fmt, ##args) +#define _E(fmt, args...) SLOGE(fmt, ##args) #else -#define DEVLOG(x, ...) do { } while (0) -#define DEVERR(x, ...) do { } while (0) +#define _I(x, ...) do { } while (0) +#define _D(x, ...) do { } while (0) +#define _E(x, ...) do { } while (0) #endif #define DEVMAN_PLUGIN_PATH "/usr/lib/libslp_devman_plugin.so" |