Refactor slp-pkgmgr with tidl
[platform/core/appfw/slp-pkgmgr.git] / client / src / log.hh
1 /*
2  * Copyright (c) 2022 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #ifndef SRC_LOG_H_
19 #define SRC_LOG_H_
20
21 #include <dlog.h>
22
23 #ifdef LOG_TAG
24 #undef LOG_TAG
25 #endif /* LOG_TAG */
26 #define LOG_TAG "PKGMGR_CLIENT"
27
28 #undef _E
29 #define _E LOGE
30
31 #undef _W
32 #define _W LOGW
33
34 #undef _I
35 #define _I LOGI
36
37 #undef _D
38 #define _D LOGD
39
40 #endif  // SRC_LOG_H_