Home
last modified time | relevance | path

Searched full:level (Results 1 – 25 of 906) sorted by relevance

12345678910>>...37

/arkcompiler/ets_runtime/ecmascript/
Dlog_wrapper.h22 #define LOG_NO_TAG(level) ARK_LOG(level, Component::NO_TAG) argument
23 #define LOG_ECMA(level) ARK_LOG(level, Component::ECMASCRIPT) argument
24 #define LOG_PGO(level) ARK_LOG(level, Component::PGO) argument
25 #define LOG_FULL(level) ARK_LOG(level, Component::ALL) << "[" << __func__ << ":" << __LINE__ << "] " argument
26 #define LOG_INTERPRETER(level) ARK_LOG(level, Component::INTERPRETER) argument
27 #define LOG_COMPILER(level) ARK_LOG(level, Component::COMPILER) argument
28 #define LOG_DEBUGGER(level) ARK_LOG(level, Component::DEBUGGER) argument
29 #define LOG_BUILTINS(level) ARK_LOG(level, Component::BUILTINS) argument
30 #define LOG_TRACE(level) ARK_LOG(level, Component::TRACE) argument
31 #define LOG_JIT(level) ARK_LOG(level, Component::JIT) argument
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dlogger.h121 Message(Level level, Component component, bool print_system_error) in Message() argument
122 : level_(level), component_(component), print_system_error_(print_system_error) in Message()
137 Level level_;
148 …static void InitializeFileLogging(const std::string &log_file, Level level, const ComponentMask &c…
151 static void InitializeHiLogging(Level level, const ComponentMask &component_mask);
154 static void InitializeStdLogging(Level level, const ComponentMask &component_mask);
156 …static void InitializeDummyLogging(Level level = Level::DEBUG, const ComponentMask &component_mask…
165 static uint32_t GetLevelNumber(Logger::Level level);
167 void WriteMobileLog(Level level, const char *component, const char *message) in WriteMobileLog() argument
173 switch (level) { in WriteMobileLog()
[all …]
Dlogger.cpp36 Level level = Level::LAST; in Initialize() local
39 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
41 level = Level::FATAL; in Initialize()
43 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
45 level = Level::ERROR; in Initialize()
47 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
49 level = Level::WARNING; in Initialize()
51 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
53 level = Level::INFO; in Initialize()
55 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-grouping-level-expected.txt17 "program": "test-grouping-level.js"
22 "program": "test-grouping-level.js"
37 "program": "test-grouping-level.js"
42 "program": "test-grouping-level.js"
57 "program": "test-grouping-level.js"
62 "program": "test-grouping-level.js"
74 "program": "test-grouping-level.js"
79 "program": "test-grouping-level.js"
87 "program": "test-grouping-level.js"
92 "program": "test-grouping-level.js"
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dlogger.h56 using Formatter = void (*)(FILE *stream, int level, const char *component, const char *message);
59 // The Level enumeration is represented as int in the public interface,
61 static_assert(static_cast<int>(Level::FATAL) == 0);
62 static_assert(static_cast<int>(Level::ERROR) == 1);
63 static_assert(static_cast<int>(Level::WARNING) == 2);
64 static_assert(static_cast<int>(Level::INFO) == 3);
65 static_assert(static_cast<int>(Level::DEBUG) == 4);
66 static_assert(static_cast<int>(Level::LAST) == 5);
119 PANDA_PUBLIC_API Message(Level level, Component component, bool printSystemError) in Message() argument
120 : level_(level), component_(component), printSystemError_(printSystemError) in Message()
[all …]
Dlogger.cpp49 Level level = Level::LAST; in Initialize() local
52 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
54 level = Level::FATAL; in Initialize()
56 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
58 level = Level::ERROR; in Initialize()
60 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
62 level = Level::WARNING; in Initialize()
64 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
66 level = Level::INFO; in Initialize()
68 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
[all …]
/arkcompiler/ets_runtime/common_components/log/
Dlog.h42 …#define OHOS_HITRACE(level, name, customArgs) HITRACE_METER_NAME_EX(level, HITRACE_TAG_ARK,… argument
43 …#define OHOS_HITRACE_START(level, name, customArgs) StartTraceEx(level, HITRACE_TAG_ARK, name, cu… argument
44 #define OHOS_HITRACE_FINISH(level) FinishTraceEx(level, HITRACE_TAG_ARK) argument
45 …#define OHOS_HITRACE_COUNT(level, name, count) CountTraceEx(level, HITRACE_TAG_ARK, name, co… argument
47 #define OHOS_HITRACE(level, name, customArgs) argument
48 #define OHOS_HITRACE_START(level, name, customArgs) argument
49 #define OHOS_HITRACE_FINISH(level) argument
50 #define OHOS_HITRACE_COUNT(level, name, count) argument
57 static inline bool LogIsLoggable(Level level, Component component) in LogIsLoggable() argument
64 … return (level >= level_) && ((components_ & static_cast<ComponentMark>(component)) != 0ULL); in LogIsLoggable()
[all …]
Dlog.cpp27 Level ConvertToLevel(LogLevel hilogLevel) in ConvertToLevel()
29 Level level = Level::ERROR; in ConvertToLevel() local
33 level = Level::INFO; in ConvertToLevel()
36 level = Level::WARN; in ConvertToLevel()
39 level = Level::ERROR; in ConvertToLevel()
43 level = Level::FATAL; in ConvertToLevel()
47 level = Level::DEBUG; in ConvertToLevel()
51 return level; in ConvertToLevel()
56 …for (int32_t level = LogLevel::LOG_LEVEL_MIN; level <= LogLevel::LOG_LEVEL_MAX; level++) { //LCOV_… in GetHiLogLevel() local
57 … if (HiLogIsLoggable(LOG_DOMAIN, LOG_TAG, static_cast<LogLevel>(level))) { //LCOV_EXCL_BR_LINE in GetHiLogLevel()
[all …]
/arkcompiler/toolchain/tooling/static/connection/asio/
Dws_logger.h28 using Level = websocketpp::log::level; variable
31 …WsLogger(Level staticChannels, ChannelType channelType) : channelType_(channelType), staticChannel… in WsLogger()
36 void set_channels(Level channels);
38 bool static_test(Level channel) const in static_test()
43 bool dynamic_test(Level channel) const in dynamic_test()
48 void write(Level channel, const std::string &string) const;
52 Logger::Level channel_log_level(Level channel) const;
55 const Level staticChannels_;
56 Level dynamicChannels_ {0};
Dws_logger.cpp24 void WsLogger::set_channels(Level channels) in set_channels()
33 void WsLogger::write(Level channel, const std::string &string) const in write()
39 auto level = channel_log_level(channel); in write() local
42 if (!Logger::IsLoggingOnOrAbort(level, component)) { in write()
47 if (Logger::IsMessageSuppressed(level, component)) { in write()
52 Logger::Message message(level, component, false); in write()
62 Logger::Level WsLogger::channel_log_level(Level channel) const in channel_log_level()
65 return Logger::Level::INFO; in channel_log_level()
70 return Logger::Level::DEBUG; in channel_log_level()
74 return Logger::Level::INFO; in channel_log_level()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/connection/asio/
Dws_logger.h28 using Level = websocketpp::log::level; variable
31 …WsLogger(Level staticChannels, ChannelType channelType) : channelType_(channelType), staticChannel… in WsLogger()
36 void set_channels(Level channels);
38 bool static_test(Level channel) const in static_test()
43 bool dynamic_test(Level channel) const in dynamic_test()
48 void write(Level channel, const std::string &string) const;
52 Logger::Level channel_log_level(Level channel) const;
55 const Level staticChannels_;
56 Level dynamicChannels_ {0};
Dws_logger.cpp24 void WsLogger::set_channels(Level channels) in set_channels()
33 void WsLogger::write(Level channel, const std::string &string) const in write()
39 auto level = channel_log_level(channel); in write() local
42 if (!Logger::IsLoggingOnOrAbort(level, component)) { in write()
47 if (Logger::IsMessageSuppressed(level, component)) { in write()
52 Logger::Message message(level, component, false); in write()
62 Logger::Level WsLogger::channel_log_level(Level channel) const in channel_log_level()
65 return Logger::Level::INFO; in channel_log_level()
70 return Logger::Level::DEBUG; in channel_log_level()
74 return Logger::Level::INFO; in channel_log_level()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/url/
DUrlTestHref.ets23 * @tc.level: Level 2
37 * @tc.level: Level 2
51 * @tc.level: Level 2
65 * @tc.level: Level 2
80 * @tc.level: Level 2
95 * @tc.level: Level 2
109 * @tc.level: Level 2
123 * @tc.level: Level 2
137 * @tc.level: Level 2
151 * @tc.level: Level 2
[all …]
DUrlTestGetSet.ets24 * @tc.level: Level 2
38 * @tc.level: Level 2
52 * @tc.level: Level 2
67 * @tc.level: Level 2
81 * @tc.level: Level 2
96 * @tc.level: Level 2
111 * @tc.level: Level 2
126 * @tc.level: Level 2
141 * @tc.level: Level 2
156 * @tc.level: Level 2
[all …]
DUrlTestParamMethods.ets23 * @tc.level: Level 2
38 * @tc.level: Level 2
57 * @tc.level: Level 2
76 * @tc.level: Level 2
96 * @tc.level: Level 2
115 * @tc.level: Level 2
134 * @tc.level: Level 2
148 * @tc.level: Level 2
163 * @tc.level: Level 2
178 * @tc.level: Level 2
[all …]
DUrlTestParamKeys.ets23 * @tc.level: Level 2
37 * @tc.level: Level 2
51 * @tc.level: Level 2
66 * @tc.level: Level 2
80 * @tc.level: Level 2
96 * @tc.level: Level 2
115 * @tc.level: Level 2
134 * @tc.level: Level 2
153 * @tc.level: Level 2
172 * @tc.level: Level 2
[all …]
DUrlTestSearchParams.ets23 * @tc.level: Level 2
37 * @tc.level: Level 2
52 * @tc.level: Level 2
67 * @tc.level: Level 2
81 * @tc.level: Level 2
96 * @tc.level: Level 2
111 * @tc.level: Level 2
129 * @tc.level: Level 2
144 * @tc.level: Level 2
160 * @tc.level: Level 2
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dlogger_test.cpp35 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST()
49 Logger::InitializeStdLogging(Logger::Level::DEBUG, ark::LOGGER_COMPONENT_MASK_ALL); in DEATH_TEST()
50 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST()
72 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST()
93 Logger::InitializeStdLogging(Logger::Level::FATAL, componentMask); in DEATH_TEST()
94 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); in DEATH_TEST()
95 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); in DEATH_TEST()
96 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER)); in DEATH_TEST()
97 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::COMPILER)); in DEATH_TEST()
98 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::ASSEMBLER)); in DEATH_TEST()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/RationalNumber/
DIsFiniteIsNaNIsZeroToStringTest.ets56 * @tc.level: Level 1
70 * @tc.level: Level 1
84 * @tc.level: Level 1
98 * @tc.level: Level 1
112 * @tc.level: Level 1
126 * @tc.level: Level 1
140 * @tc.level: Level 1
154 * @tc.level: Level 1
168 * @tc.level: Level 1
182 * @tc.level: Level 1
[all …]
DCompareGetCommonFactorTest.ets49 * @tc.level: Level 1
64 * @tc.level: Level 1
79 * @tc.level: Level 1
94 * @tc.level: Level 1
109 * @tc.level: Level 1
124 * @tc.level: Level 1
137 * @tc.level: Level 1
150 * @tc.level: Level 1
163 * @tc.level: Level 1
176 * @tc.level: Level 1
[all …]
DEqualsValueOfGetDenominatorGetNumeratorTest.ets58 * @tc.level: Level 1
73 * @tc.level: Level 1
88 * @tc.level: Level 1
103 * @tc.level: Level 1
118 * @tc.level: Level 1
133 * @tc.level: Level 1
147 * @tc.level: Level 1
161 * @tc.level: Level 1
175 * @tc.level: Level 1
189 * @tc.level: Level 1
[all …]
/arkcompiler/runtime_core/libpandabase/tests/
Dlogger_test.cpp43 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC));
57 Logger::InitializeStdLogging(Logger::Level::DEBUG, panda::LoggerComponentMaskAll);
58 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC));
80 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC));
101 Logger::InitializeStdLogging(Logger::Level::FATAL, component_mask);
102 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER));
103 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER));
104 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER));
105 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::COMPILER));
106 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::ASSEMBLER));
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/
Dllvm_logger.h48 static inline bool IsComponentEnabled(LLVMLoggerComponents comp, Logger::Level level) in IsComponentEnabled() argument
50 return components_.test(comp) || level == Logger::Level::FATAL; in IsComponentEnabled()
67 #define LLVM_LOG(level, comp) \ argument
70 ark::Logger::Level::level) && /* CC-OFF(G.PRE.02) namespace member */ \
71 LOG(level, LLVM) << "[" #comp "] "
74 #define LLVM_LOG_IF(cond, level, comp) (cond) && LLVM_LOG(level, comp) argument
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
Drich_logging.py67 f"logging.level.{logs.ARK_OUT_NAME.lower()}": Style(color="cyan"),
68 f"logging.level.{logs.ARK_ERR_NAME.lower()}": Style(color="hot_pink"),
69 f"logging.level.{logs.TRIO_NAME.lower()}": Style(color="magenta"),
138 "--log-level",
141 metavar="LEVEL",
143 "Level of messages to catch/display."
145 ' effective level, where it is "WARNING" by default.'
151 …_add_option_ini("--log-cli-level", dest=_LOG_CLI_LEVEL_NAME, default=None, help="CLI logging level
158 …_add_option_ini("--log-file-level", dest=_LOG_FILE_LEVEL_NAME, default=None, help="Log file loggin…
175 __slots__ = ("handler", "level", "orig_level")
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DConsoleGroupTest.ets.expected27 Debug Level: Verbose
38 level 1
39 in level 1
40 level 2
42 level 1 Collapsed
43 in level 1 Collapsed
44 level 2 Collapsed

12345678910>>...37