/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)); 76 Logger::Destroy(); 77 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); 95 panda::Logger::ComponentMask component_mask; 96 component_mask.set(Logger::Component::COMPILER); 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)); [all …]
|
D | code_allocator_test.cpp | 31 Logger::Destroy(); in ~CodeAllocatorTest()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
D | logger.cpp | 31 Logger *Logger::logger = nullptr; 32 thread_local int Logger::nesting = 0; 36 void Logger::Initialize(const base_options::Options &options) in Initialize() 38 panda::Logger::ComponentMask component_mask; in Initialize() 41 component_mask |= Logger::ComponentMaskFromString(s); in Initialize() 69 level = Logger::LevelFromString(options.GetLogLevel()); in Initialize() 73 Logger::InitializeHiLogging(level, component_mask); in Initialize() 78 Logger::InitializeStdLogging(level, component_mask); in Initialize() 81 …Logger::InitializeFileLogging(file_name, level, component_mask, options.GetLogStream() == "fast-fi… in Initialize() 83 Logger::InitializeDummyLogging(level, component_mask); in Initialize() [all …]
|
D | logger.h | 52 class Logger { 113 Logger::LogNestingInc(); in Message() 153 static uint32_t GetLevelNumber(Logger::Level level); 280 Logger(Level level, ComponentMask component_mask) in Logger() function 291 Logger(Level level, ComponentMask component_mask, [[maybe_unused]] Level nested_allowed_level) in Logger() function 309 virtual ~Logger() = default; 311 static Logger *logger; 330 NO_COPY_SEMANTIC(Logger); 331 NO_MOVE_SEMANTIC(Logger); 334 static Logger::ComponentMask LoggerComponentMaskAll = ~Logger::ComponentMask(); [all …]
|
/arkcompiler/runtime_core/libpandabase/templates/ |
D | logger_impl_gen.inc.erb | 18 static const char *GetComponentTag(Logger::Component component) 21 if (component == Logger::Component::<%= c.enum %>) { 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 %>; 53 Logger::ComponentMask Logger::ComponentMaskFromString(std::string_view s) 57 return panda::Logger::ComponentMask().set(Logger::Component::<%= c.enum %>); 69 std::string Logger::StringfromDfxComponent(LogDfxComponent dfx_component) 73 case Logger::LogDfxComponent::<%= c.enum %>: [all …]
|
/arkcompiler/runtime_core/disassembler/ |
D | disasm.cpp | 73 panda::Logger::InitializeStdLogging( in ProcessArgs() 74 panda::Logger::Level::DEBUG, in ProcessArgs() 75 panda::Logger::ComponentMask().set(panda::Logger::Component::DISASSEMBLER)); in ProcessArgs() 77 panda::Logger::InitializeFileLogging( in ProcessArgs() 78 debug_file.GetValue(), panda::Logger::Level::DEBUG, in ProcessArgs() 79 panda::Logger::ComponentMask().set(panda::Logger::Component::DISASSEMBLER)); in ProcessArgs() 82 panda::Logger::InitializeStdLogging(panda::Logger::Level::ERROR, in ProcessArgs() 83 … panda::Logger::ComponentMask().set(panda::Logger::Component::DISASSEMBLER)); in ProcessArgs()
|
/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()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | log.cpp | 188 case Logger::PandaLog2MobileLog::VERBOSE: in PrintLogger() 191 case Logger::PandaLog2MobileLog::DEBUG: in PrintLogger() 194 case Logger::PandaLog2MobileLog::INFO: in PrintLogger() 197 case Logger::PandaLog2MobileLog::WARN: in PrintLogger() 200 case Logger::PandaLog2MobileLog::ERROR: in PrintLogger() 203 case Logger::PandaLog2MobileLog::FATAL: in PrintLogger() 240 Logger::Initialize(baseOptions); in Initialize() 241 Logger::SetMobileLogPrintEntryPointByPtr(reinterpret_cast<void *>(Log::PrintLogger)); in Initialize()
|
/arkcompiler/runtime_core/assembler/ |
D | pandasm.cpp | 85 panda::Logger::ComponentMask component_mask; in PrepareArgs() 86 component_mask.set(panda::Logger::Component::ASSEMBLER); in PrepareArgs() 87 component_mask.set(panda::Logger::Component::BYTECODE_OPTIMIZER); in PrepareArgs() 88 panda::Logger::InitializeStdLogging(panda::Logger::Level::DEBUG, component_mask); in PrepareArgs() 90 panda::Logger::ComponentMask component_mask; in PrepareArgs() 91 component_mask.set(panda::Logger::Component::ASSEMBLER); in PrepareArgs() 92 component_mask.set(panda::Logger::Component::BYTECODE_OPTIMIZER); in PrepareArgs() 93 …panda::Logger::InitializeFileLogging(log_file.GetValue(), panda::Logger::Level::DEBUG, component_m… in PrepareArgs()
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | parser509546_1.ts | 22 export class Logger {
|
D | parser509546.ts | 22 export class Logger {
|
D | parser509546_2.ts | 24 export class Logger {
|
/arkcompiler/runtime_core/compiler/tests/ |
D | unit_test.h | 299 void EnableLogs(Logger::Level level = Logger::Level::DEBUG) 301 Logger::EnableComponent(Logger::Component::COMPILER); 302 Logger::SetLevel(level);
|
D | unit_test.cpp | 63 Logger::InitializeDummyLogging(); in PandaRuntimeTest()
|
D | encoders_test.cpp | 42 Logger::Destroy(); in ~EncoderArm64VixlTest()
|
/arkcompiler/runtime_core/tests/cts-generator/generator/ |
D | generator.rb | 25 LOG = Logger.new(STDOUT)
|
/arkcompiler/runtime_core/tests/cts-generator/ |
D | generate-cts.rb | 83 LOG = Logger.new(STDOUT)
|
/arkcompiler/runtime_core/libpandabase/events/ |
D | events_gen.h.erb | 182 Logger::EnableComponent(Logger::EVENTS); 185 Logger::DisableComponent(Logger::EVENTS);
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | helpers.cpp | 645 const uint32_t COMPONENT_MASK = panda::Logger::Component::ASSEMBLER | in OptimizeProgram() 646 panda::Logger::Component::BYTECODE_OPTIMIZER | in OptimizeProgram() 647 panda::Logger::Component::COMPILER; in OptimizeProgram() 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() 125 … panda::Logger::ComponentMask().set(Logger::Component::BYTECODE_OPTIMIZER)); in CommonTest() 135 Logger::Destroy(); in ~CommonTest()
|
/arkcompiler/runtime_core/compiler/tests/aarch64/ |
D | callconv64_test.cpp | 49 Logger::Destroy(); in ~Callconv64Test()
|
/arkcompiler/runtime_core/compiler/tests/amd64/ |
D | callconv64_test.cpp | 49 Logger::Destroy(); in ~Callconv64Test()
|
/arkcompiler/runtime_core/panda/ |
D | panda.cpp | 172 Logger::Initialize(base_options); in Main()
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc.cpp | 1451 panda::Logger::ComponentMask mask; in EmitProgram() 1452 mask.set(panda::Logger::Component::ASSEMBLER); in EmitProgram() 1453 mask.set(panda::Logger::Component::BYTECODE_OPTIMIZER); in EmitProgram() 1454 mask.set(panda::Logger::Component::COMPILER); in EmitProgram() 1455 panda::Logger::InitializeStdLogging(panda::Logger::LevelFromString(optLogLevel), mask); in EmitProgram()
|