Home
last modified time | relevance | path

Searched refs:Level (Results 1 - 25 of 56) sorted by relevance

123

/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dlogger.h107 PANDA_PUBLIC_API Message(Level level, Component component, bool printSystemError) in Message()
123 Level level_;
134 PANDA_PUBLIC_API static void InitializeFileLogging(const std::string &logFile, Level level,
137 PANDA_PUBLIC_API static void InitializeStdLogging(Level level, ComponentMask componentMask);
139 PANDA_PUBLIC_API static void InitializeDummyLogging(Level level = Level::DEBUG, ComponentMask componentMask = 0);
148 static uint32_t GetLevelNumber(Logger::Level level);
150 void WriteMobileLog(Level level, const char *component, const char *message) in WriteMobileLog()
157 case Level::DEBUG: in WriteMobileLog()
160 case Level in WriteMobileLog()
[all...]
H A Dlogger.cpp44 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 in Initialize()
[all...]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/connection/asio/
H A Dws_logger.h28 using Level = websocketpp::log::level;
31 WsLogger(Level staticChannels, ChannelType channelType) : channelType_(channelType), staticChannels_(staticChannels) in WsLogger()
36 void set_channels(Level channels);
38 bool static_test(Level channel) const in static_test()
43 bool dynamic_test(Level channel) const in dynamic_test()
48 void write(Level channel, const std::string &string) const;
52 Logger::Level channel_log_level(Level channel) const;
55 const Level staticChannels_;
56 Level dynamicChannels
[all...]
H A Dws_logger.cpp24 void WsLogger::set_channels(Level channels) in set_channels()
33 void WsLogger::write(Level channel, const std::string &string) const 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::Level::ERROR; in channel_log_level()
83 return Logger::Level in channel_log_level()
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Dlog.cpp27 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
[all...]
H A Dlog.h41 enum Level { enum
82 static inline bool LogIsLoggable(Level level, Component component) in LogIsLoggable()
124 static std::string LevelToString(Level level);
125 static Level ConvertFromRuntime(LOG_LEVEL level);
132 static Level level_;
173 template<Level level>
194 template<Level level, Component component>
/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()
80 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in HWTEST_F()
101 Logger::InitializeStdLogging(Logger::Level::FATAL, component_mask); in HWTEST_F()
102 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); in HWTEST_F()
103 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); in HWTEST_F()
104 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER)); in HWTEST_F()
105 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::COMPILER)); in HWTEST_F()
106 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level in HWTEST_F()
[all...]
/arkcompiler/runtime_core/libpandabase/utils/
H A Dlogger.h121 Message(Level level, Component component, bool print_system_error) in Message()
137 Level level_;
148 static void InitializeFileLogging(const std::string &log_file, Level level, const ComponentMask &component_mask,
151 static void InitializeHiLogging(Level level, const ComponentMask &component_mask);
154 static void InitializeStdLogging(Level level, const ComponentMask &component_mask);
156 static void InitializeDummyLogging(Level level = Level::DEBUG, const ComponentMask &component_mask = 0);
165 static uint32_t GetLevelNumber(Logger::Level level);
167 void WriteMobileLog(Level level, const char *component, const char *message) in WriteMobileLog()
174 case Level in WriteMobileLog()
[all...]
H A Dlogger.cpp45 Level level = Level::LAST; in Initialize()
48 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
50 level = Level::FATAL; in Initialize()
52 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
54 level = Level::ERROR; in Initialize()
56 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
58 level = Level::WARNING; in Initialize()
60 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
62 level = Level in Initialize()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dlogger_test.cpp35 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()
72 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST()
93 Logger::InitializeStdLogging(Logger::Level::FATAL, componentMask); in DEATH_TEST()
94 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::COMPILER)); in DEATH_TEST()
95 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ASSEMBLER)); in DEATH_TEST()
96 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DISASSEMBLER)); in DEATH_TEST()
97 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::ERROR, Logger::Component::COMPILER)); in DEATH_TEST()
98 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level 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()
144 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::DFX)); in TEST()
/arkcompiler/runtime_core/static_core/libllvmbackend/
H A Dtarget_machine_builder.h27 TargetMachineBuilder &SetOptLevel(llvm::CodeGenOpt::Level level) in SetOptLevel()
49 llvm::CodeGenOpt::Level optlevel_ {llvm::CodeGenOpt::Level::Default};
H A Dllvm_logger.h48 static inline bool IsComponentEnabled(LLVMLoggerComponents comp, Logger::Level level) in IsComponentEnabled()
50 return components_.test(comp) || level == Logger::Level::FATAL; in IsComponentEnabled()
70 ark::Logger::Level::level) && /* CC-OFF(G.PRE.02) namespace member */ \
/arkcompiler/ets_runtime/compiler_service/test/mock/include/ecmascript/
H A Dlog_wrapper.h26 enum Level { enum
34 std::ostringstream LOG_SA([[maybe_unused]] const Level level);
/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::Component::ALLOC)); in TEST()
/arkcompiler/runtime_core/abc2program/
H A Dabc2program_options.cpp46 panda::Logger::Level::DEBUG, in Parse()
50 debug_file.GetValue(), panda::Logger::Level::DEBUG, in Parse()
54 panda::Logger::InitializeStdLogging(panda::Logger::Level::ERROR, in Parse()
/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/runtime_core/libpandabase/templates/
H A Dlogger.rb17 class Level class
60 @levels = data.levels.map { |op| Level.new(op) }
/arkcompiler/runtime_core/static_core/libpandabase/templates/
H A Dlogger.rb17 class Level class
60 @levels = data.levels.map { |op| Level.new(op) }
/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc2program_options.cpp58 ark::Logger::InitializeStdLogging(ark::Logger::Level::DEBUG, in ProcessArgs()
61 ark::Logger::InitializeFileLogging(debugFileArg_->GetValue(), ark::Logger::Level::DEBUG, in ProcessArgs()
65 ark::Logger::InitializeStdLogging(ark::Logger::Level::ERROR, in ProcessArgs()
/arkcompiler/runtime_core/disassembler/
H A Ddisasm.cpp76 panda::Logger::Level::DEBUG, log_mask); in ProcessArgs()
79 debug_file.GetValue(), panda::Logger::Level::DEBUG, log_mask); in ProcessArgs()
82 panda::Logger::InitializeStdLogging(panda::Logger::Level::ERROR, log_mask); in ProcessArgs()
/arkcompiler/runtime_core/static_core/disassembler/
H A Ddisasm.cpp113 ark::Logger::InitializeStdLogging(ark::Logger::Level::DEBUG, in ProcessArgs()
116 ark::Logger::InitializeFileLogging(debugFile, ark::Logger::Level::DEBUG, in ProcessArgs()
120 ark::Logger::InitializeStdLogging(ark::Logger::Level::ERROR, in ProcessArgs()
/arkcompiler/ets_runtime/compiler_service/test/mock/src/ecmascript/
H A Dlog_wrapper.cpp22 std::ostringstream LOG_SA([[maybe_unused]] const Level level) in LOG_SA()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_driver/include/
H A Dmpl_options.h23 enum Level { kLevelZero = 0, kLevelOne = 1, kLevelTwo = 2, kLevelThree = 3, kLevelFour = 4 }; enum
/arkcompiler/runtime_core/static_core/tools/sampler/
H A Dmain.cpp32 Logger::InitializeStdLogging(Logger::Level::INFO, Logger::ComponentMaskFromString("profiler")); in Main()

Completed in 8 milliseconds

123