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_SystemManager
19 /// \brief This file supports agl application logging.
21 ///////////////////////////////////////////////////////////////////////////////
23 #ifndef __SS_SM_SYSTEMMANAGERLOG_H__ // NOLINT
24 #define __SS_SM_SYSTEMMANAGERLOG_H__
26 #include <native_service/ns_logger_if.h>
28 #define ZONE_INIT ZONEMASK(10)
29 #define ZONE_FUNC ZONEMASK(11)
30 #define ZONE_MEM ZONEMASK(12)
31 #define ZONE_FUNC_IPC ZONEMASK(13)
32 #define ZONE_APP_LAUNCH ZONEMASK(14)
33 #define ZONE_ACTIVE_INDEX ZONEMASK(15)
34 #define ZONE_CONFIG_TABLE ZONEMASK(16)
35 #define ZONE_FUNC_ARGS ZONEMASK(17)
36 #define ZONE_LOG_FILE ZONEMASK(18)
37 #define ZONE_MSG ZONEMASK(19)
38 #define ZONE_TIMER ZONEMASK(20)
39 #define ZONE_LAUNCH_TIME ZONEMASK(21)
40 #define ZONE_22 ZONEMASK(22)
41 #define ZONE_UNUSED ZONEMASK(23)
42 #define ZONE_PERIODIC_FUNC ZONEMASK(24)
43 #define ZONE_PERIODIC_INFO ZONEMASK(25)
44 #define ZONE_26 ZONEMASK(26)
45 #define ZONE_DYNAMIC_LNCH ZONEMASK(27)
46 #define ZONE_STATE ZONEMASK(28)
47 #define ZONE_INFO ZONEMASK(29)
49 #define ZONE_SYSLOG ZONE_SYSTEMDATA
50 #define ZONE_PERFORM ZONE_PERFORMANCE
51 #define ZONE_PROC_LAUNCH_INFO ZONE_FUNC
54 #define ZONE_TEXT_10 "Init"
55 #define ZONE_TEXT_11 "Function"
56 #define ZONE_TEXT_12 "Memory"
57 #define ZONE_TEXT_13 "Ipc Function"
58 #define ZONE_TEXT_14 "Active Index"
59 #define ZONE_TEXT_15 ""
60 #define ZONE_TEXT_16 "Config Table"
61 #define ZONE_TEXT_17 ""
62 #define ZONE_TEXT_18 ""
63 #define ZONE_TEXT_19 ""
64 #define ZONE_TEXT_20 ""
65 #define ZONE_TEXT_21 ""
66 #define ZONE_TEXT_22 ""
67 #define ZONE_TEXT_23 ""
68 #define ZONE_TEXT_24 ""
69 #define ZONE_TEXT_25 ""
70 #define ZONE_TEXT_26 ""
71 #define ZONE_TEXT_27 ""
72 #define ZONE_TEXT_28 "Ipc Info"
73 #define ZONE_TEXT_29 "Info"
74 // These ARE RESERVED AND SHOULDN'T BE TOUCHED
75 // USE THEM WHEN REALLY NEEDED!!!!!
76 #define ZONE_TEXT_30 "Warning"
77 #define ZONE_TEXT_31 "Error"
78 #define ZONE_WARN ZONEMASK(30)
79 #define ZONE_ERR ZONEMASK(31)
80 #define ALL_ZONES_BUT_IPC_INFO 0xEFFFFFFF
82 #ifndef FRAMEWORKUNIFIEDLOGOPTIONS
83 #define FRAMEWORKUNIFIEDLOGOPTIONS (LMSGQ) // LPRINT , LMSGQ, LSLOGGER
87 #ifndef FRAMEWORKUNIFIEDLOGAPPZONES
88 #define FRAMEWORKUNIFIEDLOGAPPZONES ZONE_WARN, ZONE_ERR, ZONE_STATE, ZONE_SYSLOG, ZONE_PERFORM, ZONE_NS_WAR, ZONE_NS_ERR
89 #endif // FRAMEWORKUNIFIEDLOGAPPZONES
91 #endif // __SS_SM_SYSTEMMANAGERLOG_H__ // NOLINT