Home
last modified time | relevance | path

Searched refs:IsLoggingOn (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
Dlogger_test.cpp40 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC));
55 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC));
77 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC));
99 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER));
100 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER));
101 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER));
102 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::COMPILER));
103 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::ASSEMBLER));
104 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::DISASSEMBLER));
130 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER));
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dlogger.cpp156 if (!IsLoggingOn(level, component)) { in Log()
161 if (!IsLoggingOn(level, component)) { in Log()
Dlogger.h184 static bool IsLoggingOn(Level level, Component component) in IsLoggingOn() function
192 if (IsLoggingOn(level, component)) { in IsLoggingOnOrAbort()