From: Sung-Jin Park Date: Mon, 12 Jul 2021 10:06:11 +0000 (+0900) Subject: mmifw: add header file for debug macros X-Git-Tag: submit/tizen/20210914.042010~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c3fda7fd1b29c98a3873c79b3ca145c07753008;p=platform%2Fcore%2Fuifw%2Fmmi-framework.git mmifw: add header file for debug macros Change-Id: Iea5bb2a7ff043f1aff10ed55c52bf14f3e0ba5fb Signed-off-by: Sung-Jin Park --- diff --git a/src/mmifw-dbg.h b/src/mmifw-dbg.h new file mode 100644 index 0000000..0a5cf12 --- /dev/null +++ b/src/mmifw-dbg.h @@ -0,0 +1,50 @@ +/* +* Copyright © 2021 Samsung Electronics co., Ltd. All Rights Reserved. +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice (including the next +* paragraph) shall be included in all copies or substantial portions of the +* Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +* DEALINGS IN THE SOFTWARE. +*/ + +#ifndef __MMIFW_DBG_H__ +#define __MMIFW_DBG_H__ + +#include + +#ifdef LOG_TAG +#undef LOG_TAG +#endif +#define LOG_TAG "MMIFW" + +#ifndef _E +#define _E LOGE +#endif + +#ifndef _D +#define _D LOGD +#endif + +#ifndef _I +#define _I LOGI +#endif + +#ifndef _W +#define _W LOGW +#endif + +#endif // __MMIFW_DBG_H__