Home
last modified time | relevance | path

Searched refs:LogLevel (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Dlog.cpp27 Level ConvertToLevel(LogLevel hilogLevel) in ConvertToLevel()
32 case LogLevel::LOG_INFO: in ConvertToLevel()
35 case LogLevel::LOG_WARN: in ConvertToLevel()
38 case LogLevel::LOG_ERROR: in ConvertToLevel()
41 case LogLevel::LOG_FATAL: in ConvertToLevel()
42 case LogLevel::LOG_LEVEL_MAX: in ConvertToLevel()
45 case LogLevel::LOG_DEBUG: in ConvertToLevel()
54 LogLevel GetHiLogLevel() in GetHiLogLevel()
56 for (int32_t level = LogLevel::LOG_LEVEL_MIN; level <= LogLevel::LOG_LEVEL_MAX; level++) { in GetHiLogLevel()
57 if (HiLogIsLoggable(ARK_DOMAIN, TAG, static_cast<LogLevel>(level))) { in GetHiLogLevel()
[all …]
Dlog.h118 template<LogLevel level, Component component>
/arkcompiler/toolchain/common/
Dlog_wrapper.cpp44 void StdLog::PrintLog(LogLevel level, const char* fmt, ...) in PrintLog()
58 void StdLog::PrintLog(LogLevel level, const char* fmt, ...) in PrintLog()
74 case LogLevel::FATAL: in PrintLog()
77 case LogLevel::ERROR: in PrintLog()
80 case LogLevel::WARN: in PrintLog()
83 case LogLevel::INFO: in PrintLog()
86 case LogLevel::DEBUG: in PrintLog()
Dlog_wrapper.h43 enum class LogLevel { enum
58 static void PrintLog(LogLevel level, const char* fmt, ...);
71 #define LOGF(fmt, ...) StdLog::PrintLog(LogLevel::FATAL, fmt, ##__VA_ARGS__)
72 #define LOGE(fmt, ...) StdLog::PrintLog(LogLevel::ERROR, fmt, ##__VA_ARGS__)
73 #define LOGW(fmt, ...) StdLog::PrintLog(LogLevel::WARN, fmt, ##__VA_ARGS__)
74 #define LOGI(fmt, ...) StdLog::PrintLog(LogLevel::INFO, fmt, ##__VA_ARGS__)
75 #define LOGD(fmt, ...) StdLog::PrintLog(LogLevel::DEBUG, fmt, ##__VA_ARGS__)
/arkcompiler/ets_frontend/ets2panda/util/
Doptions.h94 std::string_view LogLevel() const in LogLevel() function
97 case util::LogLevel::DEBUG: { in LogLevel()
100 case util::LogLevel::INFO: { in LogLevel()
103 case util::LogLevel::WARNING: { in LogLevel()
106 case util::LogLevel::ERROR: { in LogLevel()
109 case util::LogLevel::FATAL: { in LogLevel()
176 util::LogLevel logLevel_ {util::LogLevel::ERROR};
Dhelpers.h58 enum class LogLevel : std::uint8_t { enum
164 template <LogLevel LOG_L, typename... Elements>
182 template <LogLevel LOG_L, typename... Elements>
188 case LogLevel::DEBUG: { in Log()
191 case LogLevel::INFO: { in Log()
194 case LogLevel::WARNING: { in Log()
197 case LogLevel::ERROR: { in Log()
200 case LogLevel::FATAL: { in Log()
224 Helpers::Log<LogLevel::DEBUG>(std::forward<Elements>(elems)...); in LogDebug()
230 Helpers::Log<LogLevel::INFO>(std::forward<Elements>(elems)...); in LogInfo()
[all …]
Doptions.cpp296 logLevel_ = util::LogLevel::DEBUG; in Parse()
298 logLevel_ = util::LogLevel::INFO; in Parse()
300 logLevel_ = util::LogLevel::WARNING; in Parse()
302 logLevel_ = util::LogLevel::ERROR; in Parse()
304 logLevel_ = util::LogLevel::FATAL; in Parse()
DgenerateBin.cpp38 … panda::Logger::InitializeStdLogging(Logger::LevelFromString(options->LogLevel()), componentMask); in GenerateProgram()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dmpl_logging.h125 enum LogLevel { kLlDbg, kLlLog, kLlInfo, kLlWarn, kLlErr, kLlFatal, kLlMax }; enum
146 static std::ostream &MapleLogger(LogLevel level = kLlLog);
148 void EmitLogForUser(enum LogNumberCode num, enum LogLevel ll, const char *fmt, ...) const;
149 void EmitLogForUser(enum LogNumberCode num, enum LogLevel ll, const std::string &message) const;
162 …void EmitLogForDevelop(enum LogTags tag, enum LogLevel ll, const std::string &file, const std::str…
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
Dmpl_logging.cpp42 void LogInfo::EmitLogForDevelop(enum LogTags tag, enum LogLevel ll, const std::string &file, const … in EmitLogForDevelop()
106 void LogInfo::EmitLogForUser(enum LogNumberCode num, enum LogLevel ll, const char *fmt, ...) const in EmitLogForUser()
129 void LogInfo::EmitLogForUser(enum LogNumberCode num, enum LogLevel ll, const std::string &message) … in EmitLogForUser()
169 std::ostream &LogInfo::MapleLogger(LogLevel level) in MapleLogger()
/arkcompiler/ets_frontend/ets2panda/test/unit/
Dast_dumper_test.cpp60 … panda::Logger::InitializeStdLogging(panda::Logger::LevelFromString(options->LogLevel()), mask); in GetProgram()
Dunion_normalization_test.cpp93 … panda::Logger::InitializeStdLogging(panda::Logger::LevelFromString(options->LogLevel()), mask); in InitializeChecker()
/arkcompiler/ets_frontend/ets2panda/aot/
Dmain.cpp135 Logger::InitializeStdLogging(Logger::LevelFromString(options->LogLevel()), mask); in Run()
/arkcompiler/ets_frontend/ets2panda/public/
Des2panda_lib.cpp399 Logger::InitializeStdLogging(Logger::LevelFromString(options->LogLevel()), mask); in CreateConfig()