[IMPROVE] add MSG_ERR support
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Mon, 25 Nov 2013 09:33:52 +0000 (13:33 +0400)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Wed, 27 Nov 2013 12:17:52 +0000 (16:17 +0400)
Change-Id: I9c5c4d8bf24949c8c86b9693d11c3c591c66cb5d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
include/daprobe.h

index 13484f2..18d1e72 100644 (file)
@@ -138,6 +138,7 @@ int getBacktraceString(log_t* log, int bufsize);
 
 // ========================= print log =====================================
 #define PRINTMSG(msg)  printLogStr(msg, MSG_MSG)
+#define PRINTERR(msg)  printLogStr(msg, MSG_ERROR)
 
 #define INIT_INFO                                              \
                info.host_ip = 0;                               \