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 /// \ingroup tag_NS_ConfigParser
22 ////////////////////////////////////////////////////////////////////////////////////////////////////
24 #ifndef FRAMEWORK_UNIFIED_CLIENT_NS_XMLCONFIGEPARSER_LIBRARY_INCLUDE_NS_XMLCONFIG_PARSER_FRAMEWORKUNIFIEDLOG_H_
25 #define FRAMEWORK_UNIFIED_CLIENT_NS_XMLCONFIGEPARSER_LIBRARY_INCLUDE_NS_XMLCONFIG_PARSER_FRAMEWORKUNIFIEDLOG_H_
27 ////////////////////////////////////////////////////////////////////////////////////////////////////
29 ////////////////////////////////////////////////////////////////////////////////////////////////////
30 #include <native_service/ns_logger_if.h>
32 #define ZONE_INIT ZONEMASK(10)
33 #define ZONE_FUNC ZONEMASK(11)
34 #define ZONE_MEM ZONEMASK(12)
35 #define ZONE_13 ZONEMASK(13)
36 #define ZONE_14 ZONEMASK(14)
37 #define ZONE_15 ZONEMASK(15)
38 #define ZONE_16 ZONEMASK(16)
39 #define ZONE_17 ZONEMASK(17)
40 #define ZONE_18 ZONEMASK(18)
41 #define ZONE_19 ZONEMASK(19)
42 #define ZONE_20 ZONEMASK(20)
43 #define ZONE_21 ZONEMASK(21)
44 #define ZONE_22 ZONEMASK(22)
45 #define ZONE_23 ZONEMASK(23)
46 #define ZONE_24 ZONEMASK(24)
47 #define ZONE_25 ZONEMASK(25)
48 #define ZONE_26 ZONEMASK(26)
49 #define ZONE_27 ZONEMASK(27)
50 #define ZONE_28 ZONEMASK(28)
51 #define ZONE_INFO ZONEMASK(29)
52 #define ZONE_WARN ZONEMASK(30)
53 #define ZONE_ERR ZONEMASK(31)
55 #define ZONE_TEXT_10 "Init"
56 #define ZONE_TEXT_11 "Function"
57 #define ZONE_TEXT_12 "Memory"
58 #define ZONE_TEXT_13 ""
59 #define ZONE_TEXT_14 ""
60 #define ZONE_TEXT_15 ""
61 #define ZONE_TEXT_16 ""
62 #define ZONE_TEXT_17 ""
63 #define ZONE_TEXT_18 ""
64 #define ZONE_TEXT_19 ""
65 #define ZONE_TEXT_20 ""
66 #define ZONE_TEXT_21 ""
67 #define ZONE_TEXT_22 ""
68 #define ZONE_TEXT_23 ""
69 #define ZONE_TEXT_24 ""
70 #define ZONE_TEXT_25 ""
71 #define ZONE_TEXT_26 ""
72 #define ZONE_TEXT_27 ""
73 #define ZONE_TEXT_28 ""
74 #define ZONE_TEXT_29 "Info"
75 #define ZONE_TEXT_30 "Warning"
76 #define ZONE_TEXT_31 "Error"
78 #ifndef FRAMEWORKUNIFIEDLOGOPTIONS
79 #define FRAMEWORKUNIFIEDLOGOPTIONS (LPRINT ) // LPRINT , LMSGQ, LSLOGGER
82 #ifndef FRAMEWORKUNIFIEDLOGZONES
83 // #define FRAMEWORKUNIFIEDLOGZONES (ZONE_WARN|ZONE_ERR)
84 #define FRAMEWORKUNIFIEDLOGZONES (ZONE_INIT|ZONE_FUNC|ZONE_INFO|ZONE_WARN|ZONE_ERR|ZONE_NS_WAR|ZONE_NS_ERR)
87 extern const CHAR kAppName[];
88 #endif // FRAMEWORK_UNIFIED_CLIENT_NS_XMLCONFIGEPARSER_LIBRARY_INCLUDE_NS_XMLCONFIG_PARSER_FRAMEWORKUNIFIEDLOG_H_