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 ////////////////////////////////////////////////////////////////////////////////////////////////////
18 /// \defgroup <<Group Tag>> <<Group Name>>
19 /// \ingroup tag_NS_NPPService
21 ////////////////////////////////////////////////////////////////////////////////////////////////////
23 ////////////////////////////////////////////////////////////////////////////////////////////////////
24 /// \ingroup tag_NS_NPPService
29 ////////////////////////////////////////////////////////////////////////////////////////////////////
31 #ifndef NOTIFICATION_PERSISTENT_SERVICE_SERVER_INCLUDE_NS_NPP_NOTIFICATIONPERSISTENTSERVICELOG_H_
32 #define NOTIFICATION_PERSISTENT_SERVICE_SERVER_INCLUDE_NS_NPP_NOTIFICATIONPERSISTENTSERVICELOG_H_
34 ////////////////////////////////////////////////////////////////////////////////////////////////////
36 ////////////////////////////////////////////////////////////////////////////////////////////////////
37 #include <native_service/ns_logger_if.h>
39 #define ZONE_INIT ZONEMASK(10)
40 #define ZONE_FUNC ZONEMASK(11)
41 #define ZONE_MEM ZONEMASK(12)
42 #define ZONE_13 ZONEMASK(13)
43 #define ZONE_14 ZONEMASK(14)
44 #define ZONE_15 ZONEMASK(15)
45 #define ZONE_16 ZONEMASK(16)
46 #define ZONE_17 ZONEMASK(17)
47 #define ZONE_18 ZONEMASK(18)
48 #define ZONE_19 ZONEMASK(19)
49 #define ZONE_20 ZONEMASK(20)
50 #define ZONE_21 ZONEMASK(21)
51 #define ZONE_22 ZONEMASK(22)
52 #define ZONE_23 ZONEMASK(23)
53 #define ZONE_24 ZONEMASK(24)
54 #define ZONE_NPP_INFO ZONEMASK(25)
55 #define ZONE_PRD_INFO3 ZONEMASK(26)
56 #define ZONE_PRD_INFO2 ZONEMASK(27)
57 #define ZONE_PRD_INFO1 ZONEMASK(28)
58 #define ZONE_INFO ZONEMASK(29)
59 #define ZONE_WARN ZONEMASK(30)
60 #define ZONE_ERR ZONEMASK(31)
62 #define ZONE_TEXT_10 "Init"
63 #define ZONE_TEXT_11 "Function"
64 #define ZONE_TEXT_12 "Memory"
65 #define ZONE_TEXT_13 ""
66 #define ZONE_TEXT_14 ""
67 #define ZONE_TEXT_15 ""
68 #define ZONE_TEXT_16 ""
69 #define ZONE_TEXT_17 ""
70 #define ZONE_TEXT_18 ""
71 #define ZONE_TEXT_19 ""
72 #define ZONE_TEXT_20 ""
73 #define ZONE_TEXT_21 ""
74 #define ZONE_TEXT_22 ""
75 #define ZONE_TEXT_23 ""
76 #define ZONE_TEXT_24 ""
77 #define ZONE_TEXT_25 "NPP Info"
78 #define ZONE_TEXT_26 "Product Info3"
79 #define ZONE_TEXT_27 "Product Info2"
80 #define ZONE_TEXT_28 "Product Info1"
81 #define ZONE_TEXT_29 "Info"
82 #define ZONE_TEXT_30 "Warning"
83 #define ZONE_TEXT_31 "Error"
85 #ifndef FRAMEWORKUNIFIEDLOGOPTIONS
86 #define FRAMEWORKUNIFIEDLOGOPTIONS (LPRINT) // LPRINT , LMSGQ, LSLOGGER
89 #ifndef FRAMEWORKUNIFIEDLOGAPPZONES
90 #define FRAMEWORKUNIFIEDLOGAPPZONES ZONE_WARN, ZONE_ERR, ZONE_NS_WAR, ZONE_NS_ERR, ZONE_PRD_INFO2
93 extern const CHAR AppName[]; // NOLINT (readability/naming)
94 #endif // NOTIFICATION_PERSISTENT_SERVICE_SERVER_INCLUDE_NS_NPP_NOTIFICATIONPERSISTENTSERVICELOG_H_