Home
last modified time | relevance | path

Searched refs:Logger (Results 1 - 25 of 95) sorted by relevance

1234

/arkcompiler/runtime_core/libpandabase/tests/
H A Dlogger_test.cpp43 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in HWTEST_F()
57 Logger::InitializeStdLogging(Logger::Level::DEBUG, panda::LoggerComponentMaskAll); in HWTEST_F()
58 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in HWTEST_F()
79 Logger::Destroy(); in HWTEST_F()
80 EXPECT_FALSE(Logger in HWTEST_F()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dlogger_test.cpp33 DEATH_TEST(Logger, Initialization) in DEATH_TEST()
35 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()
71 Logger in DEATH_TEST()
[all...]
H A Ddfx_test.cpp112 Logger::InitializeStdLogging(Logger::Level::INFO, ark::LOGGER_COMPONENT_MASK_ALL); in TEST()
113 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DFX)); in TEST()
143 Logger::Destroy(); in TEST()
144 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DFX)); in TEST()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dlogger.cpp31 Logger *Logger::logger_ = nullptr;
32 thread_local int Logger::nesting_ = 0;
36 void Logger::Initialize(const base_options::Options &options) in Initialize()
38 ark::Logger::ComponentMask componentMask; in Initialize()
41 componentMask |= Logger::ComponentMaskFromString(s); in Initialize()
69 level = Logger::LevelFromString(options.GetLogLevel()); in Initialize()
73 Logger::InitializeStdLogging(level, componentMask); in Initialize()
76 Logger::InitializeFileLogging(fileName, level, componentMask, options.GetLogStream() == "fast-file"); in Initialize()
78 Logger in Initialize()
[all...]
H A Dlogger.h50 class Logger { class
111 Logger::LogNestingInc(); in Message()
148 static uint32_t GetLevelNumber(Logger::Level level);
284 Logger(Level level, ComponentMask componentMask) in Logger() function in ark::Logger
295 Logger(Level level, ComponentMask componentMask, [[maybe_unused]] Level nestedAllowedLevel) in Logger() function in ark::Logger
313 virtual ~Logger() = default;
315 PANDA_PUBLIC_API static Logger *logger_;
334 NO_COPY_SEMANTIC(Logger);
335 NO_MOVE_SEMANTIC(Logger);
339 static_assert(sizeof(MASK_ALL) * BITS_PER_BYTE > Logger
[all...]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/connection/asio/
H A Dws_logger.cpp40 auto component = Logger::Component::DEBUGGER; in write()
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()
77 return Logger::Level::WARNING; in channel_log_level()
80 return Logger in channel_log_level()
[all...]
/arkcompiler/runtime_core/abc2program/
H A Dabc2program_options.cpp45 panda::Logger::InitializeStdLogging( in Parse()
46 panda::Logger::Level::DEBUG, in Parse()
47 panda::Logger::ComponentMask().set(panda::Logger::Component::ABC2PROGRAM)); in Parse()
49 panda::Logger::InitializeFileLogging( in Parse()
50 debug_file.GetValue(), panda::Logger::Level::DEBUG, in Parse()
51 panda::Logger::ComponentMask().set(panda::Logger::Component::ABC2PROGRAM)); in Parse()
54 panda::Logger::InitializeStdLogging(panda::Logger in Parse()
[all...]
/arkcompiler/runtime_core/libpandabase/utils/
H A Dlogger.h64 class Logger { class
125 Logger::LogNestingInc(); in Message()
165 static uint32_t GetLevelNumber(Logger::Level level);
292 Logger(Level level, const ComponentMask &component_mask) in Logger() function in panda::Logger
303 Logger(Level level, const ComponentMask &component_mask, [[maybe_unused]] Level nested_allowed_level) in Logger() function in panda::Logger
321 virtual ~Logger() = default;
323 static Logger *logger;
342 NO_COPY_SEMANTIC(Logger);
343 NO_MOVE_SEMANTIC(Logger);
346 static Logger
[all...]
H A Dlogger.cpp32 Logger *Logger::logger = nullptr;
33 thread_local int Logger::nesting = 0;
37 void Logger::Initialize(const base_options::Options &options) in Initialize()
39 panda::Logger::ComponentMask component_mask; in Initialize()
42 component_mask |= Logger::ComponentMaskFromString(s); in Initialize()
70 level = Logger::LevelFromString(options.GetLogLevel()); in Initialize()
74 Logger::InitializeHiLogging(level, component_mask); in Initialize()
79 Logger::InitializeStdLogging(level, component_mask); in Initialize()
82 Logger in Initialize()
[all...]
/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc2program_options.cpp58 ark::Logger::InitializeStdLogging(ark::Logger::Level::DEBUG, in ProcessArgs()
59 ark::Logger::ComponentMask().set(ark::Logger::Component::ABC2PROGRAM)); in ProcessArgs()
61 ark::Logger::InitializeFileLogging(debugFileArg_->GetValue(), ark::Logger::Level::DEBUG, in ProcessArgs()
62 ark::Logger::ComponentMask().set(ark::Logger::Component::ABC2PROGRAM)); in ProcessArgs()
65 ark::Logger::InitializeStdLogging(ark::Logger in ProcessArgs()
[all...]
/arkcompiler/runtime_core/static_core/irtoc/backend/
H A Dirtoc.cpp38 Logger::Initialize(baseOptions); in Run()
43 Logger::SetLevel(Logger::Level::DEBUG); in Run()
44 Logger::ResetComponentMask(); in Run()
45 Logger::EnableComponent(Logger::Component::IRTOC); in Run()
/arkcompiler/runtime_core/static_core/disassembler/
H A Ddisasm.cpp113 ark::Logger::InitializeStdLogging(ark::Logger::Level::DEBUG, in ProcessArgs()
114 ark::Logger::ComponentMask().set(ark::Logger::Component::DISASSEMBLER)); in ProcessArgs()
116 ark::Logger::InitializeFileLogging(debugFile, ark::Logger::Level::DEBUG, in ProcessArgs()
117 ark::Logger::ComponentMask().set(ark::Logger::Component::DISASSEMBLER)); in ProcessArgs()
120 ark::Logger::InitializeStdLogging(ark::Logger in ProcessArgs()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/tests/taskmanager/
H A Dtask_sheduler_logging_test.cpp41 Logger::InitializeStdLogging(Logger::Level::INFO, ark::LOGGER_COMPONENT_MASK_ALL); in TEST()
43 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in TEST()
74 Logger::InitializeStdLogging(Logger::Level::INFO, ark::LOGGER_COMPONENT_MASK_ALL); in TEST()
76 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger in TEST()
[all...]
/arkcompiler/runtime_core/disassembler/
H A Ddisasm.cpp71 panda::Logger::ComponentMask log_mask = panda::Logger::ComponentMask().set(panda::Logger::Component::DISASSEMBLER) in ProcessArgs()
72 .set(panda::Logger::Component::PANDAFILE); in ProcessArgs()
75 panda::Logger::InitializeStdLogging( in ProcessArgs()
76 panda::Logger::Level::DEBUG, log_mask); in ProcessArgs()
78 panda::Logger::InitializeFileLogging( in ProcessArgs()
79 debug_file.GetValue(), panda::Logger::Level::DEBUG, log_mask); in ProcessArgs()
82 panda::Logger::InitializeStdLogging(panda::Logger in ProcessArgs()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_vm_api.cpp32 case ark::Logger::PandaLog2MobileLog::DEBUG: in LogPrint()
35 case ark::Logger::PandaLog2MobileLog::INFO: in LogPrint()
38 case ark::Logger::PandaLog2MobileLog::ERROR: in LogPrint()
41 case ark::Logger::PandaLog2MobileLog::FATAL: in LogPrint()
44 case ark::Logger::PandaLog2MobileLog::WARN: in LogPrint()
52 case ark::Logger::PandaLog2MobileLog::DEBUG: in LogPrint()
55 case ark::Logger::PandaLog2MobileLog::INFO: in LogPrint()
58 case ark::Logger::PandaLog2MobileLog::ERROR: in LogPrint()
61 case ark::Logger::PandaLog2MobileLog::FATAL: in LogPrint()
64 case ark::Logger in LogPrint()
[all...]
/arkcompiler/toolchain/tooling/test/
H A Ddebugger_commands_test.cpp36 Logger::InitializeStdLogging(Logger::Level::FATAL, LoggerComponentMaskAll); in SetUpTestCase()
41 Logger::InitializeStdLogging(Logger::Level::ERROR, LoggerComponentMaskAll); in TearDownTestCase()
/arkcompiler/ets_frontend/ets2panda/util/
H A DgenerateBin.cpp26 ark::Logger::ComponentMask componentMask; in InitializeLogging()
27 componentMask.set(ark::Logger::Component::ASSEMBLER); in InitializeLogging()
28 componentMask.set(ark::Logger::Component::COMPILER); in InitializeLogging()
29 componentMask.set(ark::Logger::Component::BYTECODE_OPTIMIZER); in InitializeLogging()
31 if (!ark::Logger::IsInitialized()) { in InitializeLogging()
32 ark::Logger::InitializeStdLogging(Logger::LevelFromString(options->LogLevel()), componentMask); in InitializeLogging()
34 ark::Logger::EnableComponent(componentMask); in InitializeLogging()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
H A Dlogger.py32 def setup(verbose: VerboseKind, report_root: str) -> logging.Logger:
67 def all(logger: logging.Logger, message: str) -> None:
74 def short(logger: logging.Logger, message: str) -> None:
81 def summary(logger: logging.Logger, message: str) -> None:
88 def default(logger: logging.Logger, message: str) -> None:
95 def exception_and_raise(logger: logging.Logger, message: str,
/arkcompiler/runtime_core/static_core/tools/sampler/
H A Dmain.cpp32 Logger::InitializeStdLogging(Logger::Level::INFO, Logger::ComponentMaskFromString("profiler")); in Main()
/arkcompiler/ets_runtime/ecmascript/
H A Dlog.cpp200 case Logger::PandaLog2MobileLog::VERBOSE: in PrintLogger()
203 case Logger::PandaLog2MobileLog::DEBUG: in PrintLogger()
206 case Logger::PandaLog2MobileLog::INFO: in PrintLogger()
209 case Logger::PandaLog2MobileLog::WARN: in PrintLogger()
212 case Logger::PandaLog2MobileLog::ERROR: in PrintLogger()
215 case Logger::PandaLog2MobileLog::FATAL: in PrintLogger()
252 Logger::Initialize(baseOptions); in Initialize()
253 Logger::SetMobileLogPrintEntryPointByPtr(reinterpret_cast<void *>(Log::PrintLogger)); in Initialize()
/arkcompiler/runtime_core/static_core/plugins/ets/arkts_header/
H A Darkts_header.cpp48 ark::Logger::InitializeStdLogging(ark::Logger::Level::ERROR, in ProcessArgs()
49 ark::Logger::ComponentMask().set(ark::Logger::Component::ETS_NAPI)); in ProcessArgs()
/arkcompiler/runtime_core/assembler/
H A Dpandasm.cpp85 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 in PrepareArgs()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
H A Dets_napi_invoke_interface.cpp122 case ark::Logger::PandaLog2MobileLog::UNKNOWN: in EtsMobileLogPrint()
125 case ark::Logger::PandaLog2MobileLog::DEFAULT: in EtsMobileLogPrint()
128 case ark::Logger::PandaLog2MobileLog::VERBOSE: in EtsMobileLogPrint()
131 case ark::Logger::PandaLog2MobileLog::DEBUG: in EtsMobileLogPrint()
134 case ark::Logger::PandaLog2MobileLog::INFO: in EtsMobileLogPrint()
137 case ark::Logger::PandaLog2MobileLog::WARN: in EtsMobileLogPrint()
140 case ark::Logger::PandaLog2MobileLog::ERROR: in EtsMobileLogPrint()
143 case ark::Logger::PandaLog2MobileLog::FATAL: in EtsMobileLogPrint()
146 case ark::Logger::PandaLog2MobileLog::SILENT: in EtsMobileLogPrint()
245 Logger in ParseOptions()
[all...]
/arkcompiler/runtime_core/static_core/quickener/
H A Dquick.cpp50 ark::Logger::InitializeStdLogging( in ProcessArgs()
51 ark::Logger::Level::ERROR, in ProcessArgs()
52 ark::Logger::ComponentMask().set(ark::Logger::Component::QUICKENER).set(ark::Logger::Component::PANDAFILE)); in ProcessArgs()
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlink.cpp60 ark::Logger::InitializeStdLogging( in main()
61 ark::Logger::LevelFromString(options.GetLogLevel()), in main()
62 ark::Logger::ComponentMask().set(ark::Logger::Component::STATIC_LINKER).set(ark::Logger::Component::PANDAFILE)); in main()

Completed in 9 milliseconds

1234