2 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef RESOURCE_MANAGER_SERVER_INCLUDE_SS_RESM_RESOURCEMANAGERLOG_H_
18 #define RESOURCE_MANAGER_SERVER_INCLUDE_SS_RESM_RESOURCEMANAGERLOG_H_
20 #include <native_service/ns_logger_if.h>
22 #define ZONE_INIT ZONEMASK(10) // LIB common definition
23 #define ZONE_FUNC ZONEMASK(11) // LIB common definition
24 #define ZONE_MEM ZONEMASK(12) // LIB common definition
25 #define ZONE_13 ZONEMASK(13)
26 #define ZONE_14 ZONEMASK(14)
27 #define ZONE_15 ZONEMASK(15)
28 #define ZONE_16 ZONEMASK(16)
29 #define ZONE_17 ZONEMASK(17)
30 #define ZONE_18 ZONEMASK(18)
31 #define ZONE_19 ZONEMASK(19)
32 #define ZONE_20 ZONEMASK(20)
33 #define ZONE_21 ZONEMASK(21)
34 #define ZONE_22 ZONEMASK(22)
35 #define ZONE_23 ZONEMASK(23)
36 #define ZONE_24 ZONEMASK(24)
37 #define ZONE_25 ZONEMASK(25)
38 #define ZONE_26 ZONEMASK(26)
39 #define ZONE_27 ZONEMASK(27)
40 #define ZONE_RESM_DEBUG ZONEMASK(28) // DEBUG
41 #define ZONE_INFO ZONEMASK(29) // LIB common definition
42 #define ZONE_WARN ZONEMASK(30) // LIB common definition
43 #define ZONE_ERR ZONEMASK(31) // LIB common definition
45 #define ZONE_SOC_TEMP ZONEMASK(104)
47 #define ZONE_TEXT_10 "Init"
48 #define ZONE_TEXT_11 "Function"
49 #define ZONE_TEXT_12 "Memory"
50 #define ZONE_TEXT_13 ""
51 #define ZONE_TEXT_14 ""
52 #define ZONE_TEXT_15 ""
53 #define ZONE_TEXT_16 ""
54 #define ZONE_TEXT_17 ""
55 #define ZONE_TEXT_18 ""
56 #define ZONE_TEXT_19 ""
57 #define ZONE_TEXT_20 ""
58 #define ZONE_TEXT_21 ""
59 #define ZONE_TEXT_22 ""
60 #define ZONE_TEXT_23 ""
61 #define ZONE_TEXT_24 ""
62 #define ZONE_TEXT_25 ""
63 #define ZONE_TEXT_26 ""
64 #define ZONE_TEXT_27 ""
65 #define ZONE_TEXT_28 "ResmDebug"
66 #define ZONE_TEXT_29 "Info"
67 #define ZONE_TEXT_30 "Warning"
68 #define ZONE_TEXT_31 "Error"
70 #define ALL_ZONES_BUT_IPC_INFO 0xEFFFFFFF
72 #ifndef FRAMEWORKUNIFIEDLOGOPTIONS
73 #define FRAMEWORKUNIFIEDLOGOPTIONS (LSHAREDMEM) // LPRINT,LSHAREDMEM
76 #ifndef FRAMEWORKUNIFIEDLOGAPPZONES
78 #define FRAMEWORKUNIFIEDLOGAPPZONES ZONE_WARN, ZONE_ERR, ZONE_INFO
79 // #define FRAMEWORKUNIFIEDLOGAPPZONES ZONE_WARN,ZONE_ERR,ZONE_INFO,ZONE_RESM_DEBUG //DEBUG
80 #endif /* FRAMEWORKUNIFIEDLOGAPPZONES */
82 #endif // RESOURCE_MANAGER_SERVER_INCLUDE_SS_RESM_RESOURCEMANAGERLOG_H_