common_library: gettid is multiple declaration in cl_error
[staging/basesystem.git] / video_in_hal / systemservice / logger_service / server / include / loggerservicedebug_loggerservicelog.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
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 /// \ingroup  tag_NS_LogTraceSender
19 /// \brief    This file supports AGL application logging.
20 ///
21 ///////////////////////////////////////////////////////////////////////////////
22 #ifndef LOGGER_SERVICE_SERVER_INCLUDE_LOGGERSERVICEDEBUG_LOGGERSERVICELOG_H_
23 #define LOGGER_SERVICE_SERVER_INCLUDE_LOGGERSERVICEDEBUG_LOGGERSERVICELOG_H_
24 #include <native_service/ns_logger_if.h>
25
26 #define ZONE_INIT      ZONEMASK(10)
27 #define ZONE_FUNC      ZONEMASK(11)
28 #define ZONE_MEM       ZONEMASK(12)
29 #define ZONE_13        ZONEMASK(13)
30 #define ZONE_14        ZONEMASK(14)
31 #define ZONE_15        ZONEMASK(15)
32 #define ZONE_16        ZONEMASK(16)
33 #define ZONE_17        ZONEMASK(17)
34 #define ZONE_18        ZONEMASK(18)
35 #define ZONE_19        ZONEMASK(19)
36 #define ZONE_20        ZONEMASK(20)
37 #define ZONE_21        ZONEMASK(21)
38 #define ZONE_22        ZONEMASK(22)
39 #define ZONE_23        ZONEMASK(23)
40 #define ZONE_24        ZONEMASK(24)
41 #define ZONE_25        ZONEMASK(25)
42 #define ZONE_PRD_INFO3  ZONEMASK(26)
43 #define ZONE_PRD_INFO2   ZONEMASK(27)
44 #define ZONE_PRD_INFO1   ZONEMASK(28)
45 #define ZONE_INFO      ZONEMASK(29)
46 #define ZONE_WARN      ZONEMASK(30)
47 #define ZONE_ERR       ZONEMASK(31)
48
49 #define ZONE_TEXT_10      "Init"
50 #define ZONE_TEXT_11      "Function"
51 #define ZONE_TEXT_12      "Memory"
52 #define ZONE_TEXT_13      ""
53 #define ZONE_TEXT_14      ""
54 #define ZONE_TEXT_15      ""
55 #define ZONE_TEXT_16      ""
56 #define ZONE_TEXT_17      ""
57 #define ZONE_TEXT_18      ""
58 #define ZONE_TEXT_19      ""
59 #define ZONE_TEXT_20      ""
60 #define ZONE_TEXT_21      ""
61 #define ZONE_TEXT_22      ""
62 #define ZONE_TEXT_23      ""
63 #define ZONE_TEXT_24      ""
64 #define ZONE_TEXT_25      ""
65 #define ZONE_TEXT_26      "Product Info3"
66 #define ZONE_TEXT_27      "Product Info2"
67 #define ZONE_TEXT_28      "Product Info1"
68 #define ZONE_TEXT_29      "Info"
69 #define ZONE_TEXT_30      "Warning"
70 #define ZONE_TEXT_31      "Error"
71
72 #ifndef  FRAMEWORKUNIFIEDLOGOPTIONS
73 #define FRAMEWORKUNIFIEDLOGOPTIONS(LMSGQ)  // LPRINT , LMSGQ, LSLOGGER
74 #endif
75
76 #ifndef FRAMEWORKUNIFIEDLOGAPPZONES
77 #define FRAMEWORKUNIFIEDLOGAPPZONES   ZONE_INFO, ZONE_FUNC, ZONE_ERR, ZONE_WARN, ZONE_PRD_INFO1, ZONE_PRD_INFO2, ZONE_PRD_INFO3
78 #endif
79
80 extern const CHAR AppName[];
81 #endif  // LOGGER_SERVICE_SERVER_INCLUDE_LOGGERSERVICEDEBUG_LOGGERSERVICELOG_H_