/arkcompiler/ets_runtime/ecmascript/ |
D | log.cpp | 27 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 …]
|
D | log.h | 118 template<LogLevel level, Component component>
|
/arkcompiler/toolchain/common/ |
D | log_wrapper.cpp | 44 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()
|
D | log_wrapper.h | 43 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/ |
D | options.h | 94 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};
|
D | helpers.h | 58 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 …]
|
D | options.cpp | 296 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()
|
D | generateBin.cpp | 38 … panda::Logger::InitializeStdLogging(Logger::LevelFromString(options->LogLevel()), componentMask); in GenerateProgram()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
D | mpl_logging.h | 125 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/ |
D | mpl_logging.cpp | 42 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/ |
D | ast_dumper_test.cpp | 60 … panda::Logger::InitializeStdLogging(panda::Logger::LevelFromString(options->LogLevel()), mask); in GetProgram()
|
D | union_normalization_test.cpp | 93 … panda::Logger::InitializeStdLogging(panda::Logger::LevelFromString(options->LogLevel()), mask); in InitializeChecker()
|
/arkcompiler/ets_frontend/ets2panda/aot/ |
D | main.cpp | 135 Logger::InitializeStdLogging(Logger::LevelFromString(options->LogLevel()), mask); in Run()
|
/arkcompiler/ets_frontend/ets2panda/public/ |
D | es2panda_lib.cpp | 399 Logger::InitializeStdLogging(Logger::LevelFromString(options->LogLevel()), mask); in CreateConfig()
|