initialize new launcher
[platform/core/dotnet/launcher.git] / NativeLauncher / inc / log.h
1 #ifndef __LOG_H__
2 #define __LOG_H__
3
4 #ifndef NO_TIZEN
5 #include <dlog.h>
6 #else
7 #include <stdio.h>
8 #define LOGE(fmt, args...) printf(fmt, ##args)
9 #define LOGD(fmt, args...) printf(fmt, ##args)
10 #define LOGI(fmt, args...) printf(fmt, ##args)
11 #endif
12
13 #ifdef  LOG_TAG
14 #undef  LOG_TAG
15 #endif
16 #define LOG_TAG "NETCORE_LAUNCHER"
17
18 #ifndef _ERR
19 #define _ERR(fmt, args...) LOGE(fmt "\n", ##args)
20 #endif
21
22 #ifndef _DBG
23 #define _DBG(fmt, args...) LOGD(fmt "\n", ##args)
24 #endif
25
26 #ifndef _INFO
27 #define _INFO(fmt, args...) LOGI(fmt "\n", ##args)
28 #endif
29
30 #endif /* __LOG_H__ */