Home
last modified time | relevance | path

Searched refs:LOG_LEVEL (Results 1 – 25 of 49) sorted by relevance

12

/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/Utils/
H A DLogUtil.ts44 const LOG_LEVEL = LogLevel.INFO
52 if(LogLevel.DEBUG >= LOG_LEVEL) {
59 if(LogLevel.INFO >= LOG_LEVEL) {
66 if(LogLevel.INFO >= LOG_LEVEL) {
73 if(LogLevel.WARN >= LOG_LEVEL) {
79 if(LogLevel.ERROR >= LOG_LEVEL) {
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Utils/
H A DLogUtil.ts45 const LOG_LEVEL = LogLevel.INFO
53 if (LogLevel.DEBUG >= LOG_LEVEL) {
60 if (LogLevel.INFO >= LOG_LEVEL) {
67 if (LogLevel.INFO >= LOG_LEVEL) {
74 if (LogLevel.WARN >= LOG_LEVEL) {
80 if (LogLevel.ERROR >= LOG_LEVEL) {
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/src/utils/
H A Dlogger.cpp65 const char *GetLevelStr(enum Logger::LOG_LEVEL level) in GetLevelStr()
68 case Logger::LOG_LEVEL::DEBUG: in GetLevelStr()
70 case Logger::LOG_LEVEL::INFO: in GetLevelStr()
72 case Logger::LOG_LEVEL::WARN: in GetLevelStr()
74 case Logger::LOG_LEVEL::ERROR: in GetLevelStr()
76 case Logger::LOG_LEVEL::FATAL: in GetLevelStr()
222 Logger::Logger(const std::string &file, const std::string &func, int line, enum LOG_LEVEL level, ..… in Logger()
296 enum Logger::LOG_LEVEL Logger::GetLevel() const in GetLevel()
H A Dexlog.cpp55 if (algnlogger.GetLevel() != Logger::LOG_LEVEL::DEBUG) { in ExTime()
/ohos5.0/base/startup/init/services/log/
H A Dinit_log.c106 static const LogLevel LOG_LEVEL[] = { LOG_DEBUG, LOG_INFO, LOG_WARN, LOG_ERROR, LOG_FATAL }; in PrintLog() local
107 (void)HiLogPrint(INIT_LOG_INIT, LOG_LEVEL[logLevel], domain, tag, "%s", logInfo); in PrintLog()
113 static const LogLevel LOG_LEVEL[] = { LOG_DEBUG, LOG_INFO, LOG_WARN, LOG_ERROR, LOG_FATAL }; in PrintLog() local
114 HiLogBasePrint(LOG_CORE, LOG_LEVEL[logLevel], domain, tag, "%{public}s", logInfo); in PrintLog()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/utils/
H A Dlogger.h33 enum class LOG_LEVEL { DEBUG, INFO, WARN, ERROR, FATAL }; enum
61 Logger(const std::string &file, const std::string &func, int line, enum LOG_LEVEL level, ...);
69 enum LOG_LEVEL GetLevel() const;
95 enum LOG_LEVEL level_ = LOG_LEVEL::DEBUG;
139 #define LOGGER_ARG(level) __FILE__, __func__, __LINE__, (Logger::LOG_LEVEL::level)
/ohos5.0/foundation/arkui/napi/utils/
H A Dlog.cpp32 constexpr int LOG_LEVEL[] = { ANDROID_LOG_DEBUG, ANDROID_LOG_INFO, ANDROID_LOG_WARN, ANDROID_LOG_ER… variable
42 __android_log_vprint(LOG_LEVEL[static_cast<int>(level)], LOG_TAG, newFmt.c_str(), args); in PrintLog()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_test/
H A Dtexgine_test.cpp36 Logger logger1("123", "func1", 1, Logger::LOG_LEVEL::WARN, nullptr);
38 Logger logger2("123", "func2", 2, Logger::LOG_LEVEL::FATAL, nullptr);
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/test/
H A Dtest_ark.cpp43 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_api_module/convertxml/test/
H A Dtest_ark.cpp42 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/test/
H A Dtest_ark.cpp43 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/test/
H A Dtest_ark.cpp43 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_api_module/xml/test/
H A Dtest_ark.cpp42 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/test/
H A Dtest_ark.cpp44 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/test/
H A Dtest_ark.cpp43 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_sys_module/console/test/
H A Dtest_ark.cpp42 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_sys_module/test/
H A Dtest_ark.cpp43 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/test/
H A Dtest_ark.cpp42 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/worker/test/
H A Dtest_ark.cpp43 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/commonlibrary/ets_utils/js_sys_module/timer/test/
H A Dtest_ark.cpp43 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in main()
/ohos5.0/foundation/arkui/napi/test/fuzztest/runbufferscript_fuzzer/
H A Drunbufferscript_fuzzer.cpp32 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in Engine()
/ohos5.0/foundation/arkui/napi/test/fuzztest/runscriptpath_fuzzer/
H A Drunscriptpath_fuzzer.cpp32 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in Engine()
/ohos5.0/foundation/arkui/napi/test/fuzztest/executejsbin_fuzzer/
H A Dexecutejsbin_fuzzer.cpp32 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in Engine()
/ohos5.0/foundation/arkui/napi/test/fuzztest/loadarkmodule_fuzzer/
H A Dloadarkmodule_fuzzer.cpp32 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in Engine()
/ohos5.0/foundation/arkui/napi/test/fuzztest/runactor_fuzzer/
H A Drunactor_fuzzer.cpp32 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in Engine()

12