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_SystemServices_Logger
19 /// \brief This file supports AGL application logging.
21 ///////////////////////////////////////////////////////////////////////////////
25 #ifndef INTERFACE_UNIFIED_LIBRARY_INCLUDE_SS_LOGGER_SERVICE_IF_INTERFACEUNIFIEDLOG_H_
26 #define INTERFACE_UNIFIED_LIBRARY_INCLUDE_SS_LOGGER_SERVICE_IF_INTERFACEUNIFIEDLOG_H_
27 #include <native_service/ns_logger_if.h>
29 #define ZONE_INIT ZONEMASK(10)
30 #define ZONE_FUNC ZONEMASK(11)
31 #define ZONE_MEM ZONEMASK(12)
32 #define ZONE_13 ZONEMASK(13)
33 #define ZONE_14 ZONEMASK(14)
34 #define ZONE_15 ZONEMASK(15)
35 #define ZONE_16 ZONEMASK(16)
36 #define ZONE_17 ZONEMASK(17)
37 #define ZONE_18 ZONEMASK(18)
38 #define ZONE_19 ZONEMASK(19)
39 #define ZONE_20 ZONEMASK(20)
40 #define ZONE_21 ZONEMASK(21)
41 #define ZONE_22 ZONEMASK(22)
42 #define ZONE_23 ZONEMASK(23)
43 #define ZONE_24 ZONEMASK(24)
44 #define ZONE_25 ZONEMASK(25)
45 #define ZONE_26 ZONEMASK(26)
46 #define ZONE_27 ZONEMASK(27)
47 #define ZONE_28 ZONEMASK(28)
48 #define ZONE_INFO ZONEMASK(29)
50 #define ZONE_TEXT_10 "Init"
51 #define ZONE_TEXT_11 "Function"
52 #define ZONE_TEXT_12 "Memory"
53 #define ZONE_TEXT_13 ""
54 #define ZONE_TEXT_14 ""
55 #define ZONE_TEXT_15 ""
56 #define ZONE_TEXT_16 ""
57 #define ZONE_TEXT_17 ""
58 #define ZONE_TEXT_18 ""
59 #define ZONE_TEXT_19 ""
60 #define ZONE_TEXT_20 ""
61 #define ZONE_TEXT_21 ""
62 #define ZONE_TEXT_22 ""
63 #define ZONE_TEXT_23 ""
64 #define ZONE_TEXT_24 ""
65 #define ZONE_TEXT_25 ""
66 #define ZONE_TEXT_26 ""
67 #define ZONE_TEXT_27 ""
68 #define ZONE_TEXT_28 ""
69 #define ZONE_TEXT_29 "Info"
70 // These ARE RESERVED AND SHOULDN'T BE TOUCHED
71 // USE THEM WHEN REALLY NEEDED!!!!!
72 #define ZONE_TEXT_30 "Warning"
73 #define ZONE_TEXT_31 "Error"
74 #define ZONE_WARN ZONEMASK(30)
75 #define ZONE_ERR ZONEMASK(31)
77 #ifndef FRAMEWORKUNIFIEDLOGOPTIONS
78 #define FRAMEWORKUNIFIEDLOGOPTIONS (LMSGQ) // LPRINT , LMSGQ, LSLOGGER
81 #ifndef FRAMEWORKUNIFIEDLOGAPPZONES
82 #define FRAMEWORKUNIFIEDLOGAPPZONES ZONE_ERR
85 extern const CHAR AppName[];
86 #endif // INTERFACE_UNIFIED_LIBRARY_INCLUDE_SS_LOGGER_SERVICE_IF_INTERFACEUNIFIEDLOG_H_