/arkcompiler/runtime_core/libpandabase/utils/ |
D | logger.h | 109 Message(Level level, Component component, bool print_system_error) in Message() 125 Level level_; 136 …static void InitializeFileLogging(const std::string &log_file, Level level, ComponentMask componen… 139 static void InitializeHiLogging(Level level, ComponentMask component_mask); 142 static void InitializeStdLogging(Level level, ComponentMask component_mask); 144 … static void InitializeDummyLogging(Level level = Level::DEBUG, ComponentMask component_mask = 0); 153 static uint32_t GetLevelNumber(Logger::Level level); 155 void WriteMobileLog(Level level, const char *component, const char *message) in WriteMobileLog() 162 case Level::DEBUG: in WriteMobileLog() 165 case Level::INFO: in WriteMobileLog() [all …]
|
D | logger.cpp | 44 Level level = Level::LAST; in Initialize() 47 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize() 49 level = Level::FATAL; in Initialize() 51 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize() 53 level = Level::ERROR; in Initialize() 55 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize() 57 level = Level::WARNING; in Initialize() 59 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize() 61 level = Level::INFO; in Initialize() 63 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | log.cpp | 27 Level ConvertToLevel(LogLevel hilogLevel) in ConvertToLevel() 29 Level level = Level::ERROR; in ConvertToLevel() 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() 66 Level Log::level_ = Level::ERROR; 69 Level Log::ConvertFromRuntime(LOG_LEVEL level) in ConvertFromRuntime() 71 Level logLevel = Level::INFO; in ConvertFromRuntime() [all …]
|
D | log.h | 31 enum Level { enum 72 static inline bool LogIsLoggable(Level level, Component component) in LogIsLoggable() 102 static std::string LevelToString(Level level); 103 static Level ConvertFromRuntime(LOG_LEVEL level); 110 static Level level_; 151 template<Level level> 172 template<Level level, Component component>
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | logger_test.cpp | 40 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 54 Logger::InitializeStdLogging(Logger::Level::DEBUG, panda::LoggerComponentMaskAll); 55 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 77 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 98 Logger::InitializeStdLogging(Logger::Level::FATAL, component_mask); 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)); [all …]
|
/arkcompiler/runtime_core/libpandabase/templates/ |
D | logger_impl_gen.inc.erb | 29 static const char *GetLevelTag(Logger::Level level) 32 if (level == Logger::Level::<%= l.enum %>) { 41 Logger::Level Logger::LevelFromString(std::string_view s) 45 return panda::Logger::Level::<%= l.enum %>; 110 uint32_t Logger::GetLevelNumber(Logger::Level level) 114 case Logger::Level::<%= l.enum %>:
|
D | logger.rb | 17 class Level class 60 @levels = data.levels.map { |op| Level.new(op) }
|
D | logger_enum_gen.h.erb | 18 enum class Level : uint8_t {
|
/arkcompiler/toolchain/tooling/test/ |
D | debugger_commands_test.cpp | 36 Logger::InitializeStdLogging(Logger::Level::FATAL, LoggerComponentMaskAll); in SetUpTestCase() 41 Logger::InitializeStdLogging(Logger::Level::ERROR, LoggerComponentMaskAll); in TearDownTestCase()
|
D | debugger_events_test.cpp | 36 Logger::InitializeStdLogging(Logger::Level::FATAL, LoggerComponentMaskAll); in SetUpTestCase() 41 Logger::InitializeStdLogging(Logger::Level::ERROR, LoggerComponentMaskAll); in TearDownTestCase()
|
D | debugger_params_test.cpp | 42 Logger::InitializeStdLogging(Logger::Level::FATAL, LoggerComponentMaskAll); in SetUpTestCase() 47 Logger::InitializeStdLogging(Logger::Level::ERROR, LoggerComponentMaskAll); in TearDownTestCase()
|
D | debugger_types_test.cpp | 42 Logger::InitializeStdLogging(Logger::Level::FATAL, LoggerComponentMaskAll); in SetUpTestCase() 47 Logger::InitializeStdLogging(Logger::Level::ERROR, LoggerComponentMaskAll); in TearDownTestCase()
|
/arkcompiler/runtime_core/disassembler/ |
D | disasm.cpp | 74 panda::Logger::Level::DEBUG, in ProcessArgs() 78 debug_file.GetValue(), panda::Logger::Level::DEBUG, in ProcessArgs() 82 panda::Logger::InitializeStdLogging(panda::Logger::Level::ERROR, in ProcessArgs()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | unit_test.h | 299 void EnableLogs(Logger::Level level = Logger::Level::DEBUG)
|
/arkcompiler/runtime_core/assembler/ |
D | pandasm.cpp | 88 panda::Logger::InitializeStdLogging(panda::Logger::Level::DEBUG, component_mask); in PrepareArgs() 93 …panda::Logger::InitializeFileLogging(log_file.GetValue(), panda::Logger::Level::DEBUG, component_m… in PrepareArgs()
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | helpers.cpp | 648 panda::Logger::InitializeStdLogging(panda::Logger::Level::ERROR, COMPONENT_MASK); in OptimizeProgram()
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | common.h | 124 Logger::InitializeStdLogging(Logger::Level::ERROR, in CommonTest()
|