Searched refs:IsLoggingOn (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/runtime_core/libpandabase/tests/ |
D | logger_test.cpp | 40 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/ |
D | logger.cpp | 156 if (!IsLoggingOn(level, component)) { in Log() 161 if (!IsLoggingOn(level, component)) { in Log()
|
D | logger.h | 184 static bool IsLoggingOn(Level level, Component component) in IsLoggingOn() function 192 if (IsLoggingOn(level, component)) { in IsLoggingOnOrAbort()
|