2 * @copyright Copyright (c) 2018-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.
16 #ifndef INC_NV_HAL_NVHALLOG_H_
17 #define INC_NV_HAL_NVHALLOG_H_
19 #include <native_service/ns_logger_if.h>
21 #define ZONE_INIT ZONEMASK(10)
22 #define ZONE_FUNC ZONEMASK(11)
23 #define ZONE_MEM ZONEMASK(12)
24 #define ZONE_13 ZONEMASK(13)
25 #define ZONE_14 ZONEMASK(14)
26 #define ZONE_15 ZONEMASK(15)
27 #define ZONE_16 ZONEMASK(16)
28 #define ZONE_17 ZONEMASK(17)
29 #define ZONE_18 ZONEMASK(18)
30 #define ZONE_19 ZONEMASK(19)
31 #define ZONE_20 ZONEMASK(20)
32 #define ZONE_21 ZONEMASK(21)
33 #define ZONE_22 ZONEMASK(22)
34 #define ZONE_23 ZONEMASK(23)
35 #define ZONE_24 ZONEMASK(24)
36 #define ZONE_25 ZONEMASK(25)
37 #define ZONE_26 ZONEMASK(26)
38 #define ZONE_27 ZONEMASK(27)
39 #define ZONE_28 ZONEMASK(28)
40 #define ZONE_INFO ZONEMASK(29)
41 #define ZONE_WARN ZONEMASK(30)
42 #define ZONE_ERR ZONEMASK(31)
44 #define ZONE_TEXT_10 "Init"
45 #define ZONE_TEXT_11 "Function"
46 #define ZONE_TEXT_12 "Memory"
47 #define ZONE_TEXT_13 ""
48 #define ZONE_TEXT_14 ""
49 #define ZONE_TEXT_15 ""
50 #define ZONE_TEXT_16 ""
51 #define ZONE_TEXT_17 ""
52 #define ZONE_TEXT_18 ""
53 #define ZONE_TEXT_19 ""
54 #define ZONE_TEXT_20 ""
55 #define ZONE_TEXT_21 ""
56 #define ZONE_TEXT_22 ""
57 #define ZONE_TEXT_23 ""
58 #define ZONE_TEXT_24 ""
59 #define ZONE_TEXT_25 ""
60 #define ZONE_TEXT_26 ""
61 #define ZONE_TEXT_27 ""
62 #define ZONE_TEXT_28 ""
63 #define ZONE_TEXT_29 "Info"
64 #define ZONE_TEXT_30 "Warning"
65 #define ZONE_TEXT_31 "Error"
67 #ifndef FRAMEWORKUNIFIEDLOGOPTIONS
68 #define FRAMEWORKUNIFIEDLOGOPTIONS (LSHAREDMEM) // LPRINT , LMSGQ, LSLOGGER
71 #ifndef FRAMEWORKUNIFIEDLOGAPPZONES
72 #define FRAMEWORKUNIFIEDLOGAPPZONES ZONE_ERR, ZONE_WARN, ZONE_INFO
75 extern const CHAR AppName[]; // NOLINT (defind outside)
76 #endif // INC_NV_HAL_NVHALLOG_H_