/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/utils/ |
H A D | logger.h | 62 Logger(const Logger &logger); 63 Logger(Logger &&logger); 151 Logger::SetToNoReturn, Logger::SetToContinue, Logger::OutputByStdout, NULL) 167 Logger::AppendPidTid, Logger::AppendFunc, Logger::OutputByStdout, NULL) 169 Logger::AppendPidTid, Logger::AppendFuncLine, Logger::OutputByStdout, NULL) 171 Logger::AppendPidTid, Logger::AppendFileLine, Logger::OutputByStdout, NULL) 173 Logger::AppendPidTid, Logger::AppendFileFuncLine, Logger::OutputByStdout, NULL) 179 Logger::SetToNoReturn, Logger::SetToContinue, Logger::OutputByStderr, NULL) 195 Logger::AppendPidTid, Logger::AppendFunc, Logger::OutputByStderr, NULL) 197 Logger::AppendPidTid, Logger::AppendFuncLine, Logger::OutputByStderr, NULL) [all …]
|
H A D | exlog.h | 24 void ExTime(Logger &logger, enum Logger::LOG_PHASE phase); 27 Logger::SetToNoReturn, Logger::SetToContinue, Logger::OutputByFileLog, "exlog", NULL) 29 Logger::SetToContinue, Logger::OutputByFileLog, "exlog", NULL) 33 ExTime, Logger::AppendFunc, Logger::OutputByFileLog, "exlog", NULL) 35 ExTime, Logger::AppendFuncLine, Logger::OutputByFileLog, "exlog", NULL) 37 ExTime, Logger::AppendFileLine, Logger::OutputByFileLog, "exlog", NULL) 41 Logger::AppendPidTid, Logger::OutputByFileLog, "exlog", NULL) 43 ExTime, Logger::AppendPidTid, Logger::AppendFunc, Logger::OutputByFileLog, "exlog", NULL) 45 ExTime, Logger::AppendPidTid, Logger::AppendFuncLine, Logger::OutputByFileLog, "exlog", NULL) 47 ExTime, Logger::AppendPidTid, Logger::AppendFileLine, Logger::OutputByFileLog, "exlog", NULL) [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_test/ |
H A D | texgine_test.cpp | 41 Logger::SetToNoReturn(logger1, Logger::LOG_PHASE::BEGIN); 42 Logger::SetToContinue(logger2, Logger::LOG_PHASE::BEGIN); 43 Logger::OutputByStderr(logger4, Logger::LOG_PHASE::BEGIN); 44 Logger::OutputByStderr(logger1, Logger::LOG_PHASE::END); 45 Logger::OutputByStderr(logger2, Logger::LOG_PHASE::END); 46 Logger::OutputByFileLog(logger1, Logger::LOG_PHASE::BEGIN); 47 Logger::OutputByFileLog(logger1, Logger::LOG_PHASE::END); 48 Logger::AppendFunc(logger1, Logger::LOG_PHASE::BEGIN); 49 Logger::AppendFileLine(logger1, Logger::LOG_PHASE::BEGIN); 50 Logger::AppendFileFuncLine(logger1, Logger::LOG_PHASE::BEGIN); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/src/utils/ |
H A D | logger.cpp | 83 void Logger::SetToNoReturn(Logger &logger, enum LOG_PHASE phase) in SetToNoReturn() 88 void Logger::SetToContinue(Logger &logger, enum LOG_PHASE phase) in SetToContinue() 93 void Logger::OutputByStdout(Logger &logger, enum LOG_PHASE phase) in OutputByStdout() 110 void Logger::OutputByStderr(Logger &logger, enum LOG_PHASE phase) in OutputByStderr() 127 void Logger::OutputByFileLog(Logger &logger, enum LOG_PHASE phase) in OutputByFileLog() 157 void Logger::AppendFunc(Logger &logger, enum LOG_PHASE phase) in AppendFunc() 197 void Logger::AppendPidTid(Logger &logger, enum LOG_PHASE phase) in AppendPidTid() 250 Logger::Logger(const Logger &logger) in Logger() function in OHOS::Rosen::TextEngine::Logger 261 Logger::Logger(Logger &&logger) in Logger() function in OHOS::Rosen::TextEngine::Logger 274 Logger::~Logger() in ~Logger() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/ |
H A D | log_print.h | 26 class Logger { 36 virtual ~Logger() {}; in ~Logger() 37 static Logger *GetInstance(); 44 static Logger *logHandler; 50 #define LOGD(...) Logger::Log(Logger::Level::LEVEL_DEBUG, LOG_TAG_KV, __FILE_NAME__, __LINE__, __VA… 51 #define LOGI(...) Logger::Log(Logger::Level::LEVEL_INFO, LOG_TAG_KV, __FILE_NAME__, __LINE__, __VA_… 52 #define LOGW(...) Logger::Log(Logger::Level::LEVEL_WARN, LOG_TAG_KV, __FILE_NAME__, __LINE__, __VA_… 53 #define LOGE(...) Logger::Log(Logger::Level::LEVEL_ERROR, LOG_TAG_KV, __FILE_NAME__, __LINE__, __VA… 54 #define LOGF(...) Logger::Log(Logger::Level::LEVEL_FATAL, LOG_TAG_KV, __FILE_NAME__, __LINE__, __VA… 56 #define ZLOGI(...) Logger::Log(Logger::Level::LEVEL_INFO, LOG_TAG_KV, __FILE_NAME__, __LINE__, __VA… [all …]
|
H A D | log_print.cpp | 25 Logger *Logger::logHandler = nullptr; 26 const std::string Logger::PRIVATE_TAG = "{private}"; 27 const std::string Logger::PUBLIC_TAG = "{public}"; 29 void Logger::Print(Level level, const char *func, int line, const std::string &tag, const std::str… in Print() 34 Logger *Logger::GetInstance() in GetInstance() 36 static Logger logger; in GetInstance() 40 void Logger::RegisterLogger(Logger *logger) in RegisterLogger() 54 void Logger::Log(Level level, const std::string &tag, const char *func, int line, const char *forma… in Log() 78 Logger::RegisterLogger(Logger::GetInstance()); in Log() 84 void Logger::PreparePrivateLog(const char *format, std::string &outStrFormat) in PreparePrivateLog()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/model/ |
H A D | CameraService.ts | 20 import Logger from '../model/Logger'; 204 Logger.info(TAG, 'savePicture start'); 212 Logger.info(TAG, 'savePicture End'); 248 Logger.error('Profile is invalid'); 775 Logger.info(TAG, 'takePicture start'); 787 Logger.info(TAG, 'takePicture end'); 880 Logger.info(TAG, 'startVideo begin'); 890 Logger.info(TAG, 'startVideo end'); 916 Logger.info(TAG, 'not in recording'); 920 Logger.info(TAG, 'stopVideo start'); [all …]
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/samples/continuationManualTestSuite/entry/src/main/ets/MainAbility/ |
H A D | MainAbility.ts | 21 import Logger from './Logger'; 56 Logger.info(`work input ${workInput}`) 59 Logger.info('ready to restore'); 64 Logger.info("[Demo] MainAbility onCreate") 84 Logger.info("join session"); 101 Logger.info("MainAbility onNewWant") 140 Logger.info('Permission already granted.'); 156 Logger.info("MainAbility onDestroy") 161 Logger.info("MainAbility onWindowStageCreate"); 184 Logger.info("MainAbility onForeground") [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | log_print.h | 27 class Logger { 37 virtual ~Logger() {}; in ~Logger() 38 static Logger *GetInstance(); 39 static void RegisterLogger(Logger *logger); 45 static Logger *logHandler; 50 #define LOGD(...) Logger::Log(Logger::Level::LEVEL_DEBUG, LOG_TAG_KV, __FUNCTION__, __LINE__, __VA_… 51 #define LOGI(...) Logger::Log(Logger::Level::LEVEL_INFO, LOG_TAG_KV, __FUNCTION__, __LINE__, __VA_A… 52 #define LOGW(...) Logger::Log(Logger::Level::LEVEL_WARN, LOG_TAG_KV, __FUNCTION__, __LINE__, __VA_A… 53 #define LOGE(...) Logger::Log(Logger::Level::LEVEL_ERROR, LOG_TAG_KV, __FUNCTION__, __LINE__, __VA_… 54 #define LOGF(...) Logger::Log(Logger::Level::LEVEL_FATAL, LOG_TAG_KV, __FUNCTION__, __LINE__, __VA_…
|
/ohos5.0/foundation/ability/form_fwk/test/resource/benchmark/form_test_bundle/src/main/ets/FormAbility/ |
H A D | form.ts | 20 import Logger from '../model/Logger' 66 Logger.error(`failed to storeFormInfo, err: ${JSON.stringify(err)}`); 117 Logger.error(`updateForm, err: ${JSON.stringify(err)}`); 125 Logger.error(`failed to updateForm, err: ${JSON.stringify(err)}`); 137 Logger.error(`failed to deleteFormInfo, err: ${JSON.stringify(err)}`); 143 Logger.log(`FormAbility onCreate, want: ${JSON.stringify(want)}`); 159 Logger.log(`FormAbility onCastToNormal, formId: ${formId}`); 163 Logger.log(`FormAbility onUpdate, formId: ${formId}`); 167 Logger.log(`FormAbility onVisibilityChange`); 173 Logger.log(`FormAbility onDestroy, formId = ${formId}`); [all …]
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/missionCenterDemo/dmsDemo/entry/src/main/ets/Util/ |
H A D | DeviceManager.ets | 19 import Logger from './Logger' 58 Logger.info('create DeviceManager begin'); 80 Logger.info('create DeviceManager end'); 120 Logger.info('init LocalDeviceMission begin'); 141 Logger.info('update begin'); 143 Logger.info('update end'); 147 Logger.info('update begin'); 149 Logger.info('update end'); 166 Logger.info('continue mission start'); 192 Logger.info('continue mission end'); [all …]
|
H A D | Permission.ts | 18 import Logger from './Logger' 30 Logger.info("app permission get bundle info") 32 Logger.info(`app permission query permission ${bundleInfo.accessTokenId.toString()}`) 34 Logger.info(`app permission query grant status ${permission}`) 42 … Logger.error(`app permission query grant status error ${permission} ${JSON.stringify(err)}`) 48 Logger.info("app permission needGrantPermission") 52 Logger.error(`app permission ${JSON.stringify(err)}`) 55 Logger.info("app permission already granted")
|
H A D | RemoteMissionManager.ets | 18 import Logger from './Logger' 25 Logger.info('RemoteMissionManager construct'); 29 Logger.info("sync RemoteMissions start") 38 Logger.info("sync RemoteMissions success, data = " + data) 41 Logger.error('sync RemoteMissions failed, error = ' + error); 46 Logger.info("register MissionListener start") 49 Logger.info('notifyMissionsChanged deviceId = ' + deviceId); 53 Logger.info('notifySnapshot missionId = ' + missionId); 56 Logger.info('notifyNetDisconnect deviceId = ' + deviceId); 65 Logger.info("register MissionListener success") [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/resource/benchmark/form_test_bundle/src/main/ets/FormAbility/ |
H A D | form.ts | 20 import Logger from '../model/Logger'; 66 Logger.error(`failed to storeFormInfo, err: ${JSON.stringify(err)}`); 117 Logger.error(`updateForm, err: ${JSON.stringify(err)}`); 125 Logger.error(`failed to updateForm, err: ${JSON.stringify(err)}`); 137 Logger.error(`failed to deleteFormInfo, err: ${JSON.stringify(err)}`); 143 Logger.log(`FormAbility onCreate, want: ${JSON.stringify(want)}`); 159 Logger.log(`FormAbility onCastToNormal, formId: ${formId}`); 163 Logger.log(`FormAbility onUpdate, formId: ${formId}`); 167 Logger.log(`FormAbility onVisibilityChange`); 173 Logger.log(`FormAbility onDestroy, formId = ${formId}`); [all …]
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/parser/ |
H A D | intf_type_check.cpp | 26 … Logger::E(TAG, StringHelper::Format("[%s:%d] error:ast is nullptr.", __func__, __LINE__).c_str()); in CheckIntegrity() 31 …Logger::E(TAG, StringHelper::Format("[%s:%d] error:ast's name is empty.", __func__, __LINE__).c_st… in CheckIntegrity() 48 …Logger::E(TAG, StringHelper::Format("[%s:%d] error:intf type is invalid.", __func__, __LINE__).c_s… in CheckIntegrity() 76 … Logger::E(TAG, StringHelper::Format("[%s:%d] error:intf sa: interface is not defined.", __func__, in CheckIntfSaAst() 147 Logger::E(TAG, StringHelper::Format( in CheckIntfSaAstMethods() 240 Logger::E(TAG, StringHelper::Format("[%s:%d] error:intf hdi: '%s' " in CheckIntfHdiAstParam() 245 Logger::E(TAG, StringHelper::Format("[%s:%d] error:intf hdi: '%s' param of interface " in CheckIntfHdiAstParam() 257 … Logger::E(TAG, StringHelper::Format("[%s:%d] error:intf hdi: ast's interface is empty.", __func__, in CheckInterfaceAst() 324 … Logger::E(TAG, StringHelper::Format("[%s:%d] error:it's impossible that ast is sequenceable.", in CheckIntfSmAstFileType() 329 … Logger::E(TAG, StringHelper::Format("[%s:%d] error:custom ast cannot has interface.", in CheckIntfSmAstFileType() [all …]
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | options.cpp | 254 Logger::E(TAG, "invalid idl file path:%s", sourceFile.c_str()); in AddSources() 337 Logger::E(TAG, "Option 'intf-type sa' must set idl file."); in CheckSaOptions() 384 Logger::E(TAG, "Option 'intf-type sa' not support option 'r'."); in DoSupportSaType() 413 Logger::E(TAG, "nothing to do."); in CheckHdiOptions() 418 Logger::E(TAG, "no target language."); in CheckHdiOptions() 423 Logger::E(TAG, "no out directory."); in CheckHdiOptions() 428 Logger::E(TAG, "no idl files."); in CheckHdiOptions() 523 Logger::E(TAG, "nothing to do."); in CheckSmOptions() 528 Logger::E(TAG, "no target language."); in CheckSmOptions() 533 Logger::E(TAG, "no out directory."); in CheckSmOptions() [all …]
|
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | parser.cpp | 33 Logger().Debug() << "failed to merge ast"; in Parse() 77 Logger().Error() << src << ": Empty hcs file"; in ParseOneContent() 82 Logger().Error() << lexer_ << "syntax error, expect EOF"; in ParseOneContent() 105 Logger().Error() << src << " circular include " << includeSrc; in ParseOne() 175 Logger().Error() << lexer_ << "syntax error, node miss '{'"; in ParseNode() 203 Logger().Error() << lexer_ << "syntax error, node miss '}'"; in ParseNode() 248 Logger().Error() << lexer_ << "syntax error, miss ';'"; in ParseTerm() 258 Logger().Error() << lexer_ << "syntax error, template miss name"; in ParseTemplate() 276 Logger().Error() << lexer_ << "syntax error, broken term or node"; in ParseNodeAndTerm() 313 Logger().Error() << lexer_ << "syntax error, unknown node type"; in ParseNodeWithRef() [all …]
|
H A D | logger.h | 21 class Logger { 23 Logger() : level_(INFO) {} in Logger() function 25 inline ~Logger() in ~Logger() 37 inline Logger &operator<<(const T &v) 46 inline Logger &Debug() in Debug() 55 inline Logger &Info() in Info() 62 inline Logger &Warning() in Warning() 69 inline Logger &Error() in Error() 76 inline Logger &Fatal() in Fatal()
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | performance-camera-shot2see.md | 65 Logger.info(TAG, 'onLoad is called'); 185 Logger.info(TAG, 'takePicture start'); 192 Logger.info(TAG, 'takePicture end'); 200 Logger.info(TAG, 'photoAvailable begin'); 228 Logger.info(TAG, 'handleSavePicture'); 231 Logger.info(TAG, 'setImageInfo end'); 235 Logger.info(TAG, 'setImageInfo'); 274 Logger.info(TAG, 'handleSavePicture'); 277 Logger.info(TAG, 'setImageInfo end'); 281 Logger.info(TAG, 'setImageInfo'); [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/EntryAbility/ |
H A D | EntryAbility.ts | 22 import Logger from '../model/Logger'; 32 Logger.info(TAG, 'Ability onCreate'); 33 Logger.debug(TAG, `want param: ${JSON.stringify(want)}`); 34 Logger.debug(TAG, `launchParam: ${JSON.stringify(launchParam)}`); 40 Logger.info(TAG, 'Ability onDestroy'); 45 Logger.info(TAG, 'Ability onWindowStageCreate'); 47 Logger.info(TAG, 'Succeeded in loading the content.'); 53 Logger.debug(TAG, 'Succeeded get promptAction.'); 83 Logger.info(TAG, 'request Permissions success!'); 85 Logger.info(TAG, `requestPermissionsFromUser call Failed! error: ${error.code}`);
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/MainAbility/ |
H A D | MainAbility.ts | 20 import Logger from '../model/Logger'; 26 Logger.info(TAG, 'Ability onCreate'); 27 Logger.debug(TAG, `want param: ${JSON.stringify(want)}`); 28 Logger.debug(TAG, `launchParam: ${JSON.stringify(launchParam)}`); 32 Logger.info(TAG, 'Ability onDestroy'); 37 Logger.info(TAG, 'Ability onWindowStageCreate'); 60 Logger.info(TAG, 'Ability onWindowStageDestroy'); 65 Logger.info(TAG, 'Ability onForeground'); 70 Logger.info(TAG, 'Ability onBackground');
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/log/ |
H A D | logger.cpp | 79 Logger::Logger(bool defaultOutputs) in Logger() function in Logger 99 void Logger::VLog( in VLog() 177 void Logger::CheckOnceReset() in CheckOnceReset() 184 void Logger::Log( in Log() 206 ILogger::LogLevel Logger::GetLogLevel() const in GetLogLevel() 211 void Logger::SetLogLevel(LogLevel logLevel) in SetLogLevel() 216 void Logger::AddOutput(IOutput::Ptr output) in AddOutput() 224 const IInterface* Logger::GetInterface(const Uid& uid) const in GetInterface() 232 IInterface* Logger::GetInterface(const Uid& uid) in GetInterface() 240 void Logger::Ref() {} in Ref() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | log_print.cpp | 28 Logger *Logger::logHandler = nullptr; 29 const std::string Logger::PRIVATE_TAG = "s{private}"; 31 class HiLogger : public Logger { 66 Logger *Logger::GetInstance() in GetInstance() 69 static std::atomic<Logger *> logInstance = nullptr; in GetInstance() 81 void Logger::RegisterLogger(Logger *logger) in RegisterLogger() 95 void Logger::Log(Level level, const std::string &tag, const char *func, int line, const char *forma… in Log() 122 Logger::RegisterLogger(Logger::GetInstance()); in Log() 128 void Logger::PreparePrivateLog(const char *format, std::string &outStrFormat) in PreparePrivateLog()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/log/ |
H A D | Logger.cpp | 26 const char* Logger::getLogLevelName(LogLevel aLogLevel, bool aShortName) in getLogLevelName() 47 Logger::Logger(bool aDefaultOutputs) in Logger() function in lume::Logger 59 Logger::~Logger() = default; 61 void Logger::VLog(LogLevel aLogLevel, const char *aFilename, int aLinenumber, const char *aFormat, … in VLog() 83 FORMAT_FUNC(5, 6) void Logger::log(LogLevel aLogLevel, const char *aFilename, int aLinenumber, FORM… in log() 91 FORMAT_FUNC(6, 7) bool Logger::logAssert(const char *aFilename, int aLinenumber, bool expression, c… in logAssert() 118 ILogger::LogLevel Logger::getLogLevel() const in getLogLevel() 123 void Logger::setLogLevel(LogLevel aLogLevel) in setLogLevel() 128 void Logger::addOutput(std::unique_ptr<IOutput> aOutput) in addOutput() 140 Logger g_sLoggerInstance(true); // Global logger instance.
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/model/ |
H A D | MediaUtils.ts | 20 import Logger from '../model/Logger' 42 Logger.info(this.tag, `createAndGetUri publicPath = ${publicPath}`) 69 Logger.info(this.tag, `fd = ${fd}`) 85 Logger.info(this.tag, `getFileAssetsFromType,mediaType = ${mediaType}`) 101 Logger.info(this.tag, 'getAlbums begin') 126 Logger.info(this.tag, `deleteFile,uri = ${uri}`) 132 Logger.info(this.tag, 'albumChange called') 136 Logger.info(this.tag, 'imageChange called') 140 Logger.info(this.tag, 'audioChange called') 144 Logger.info(this.tag, 'videoChange called') [all …]
|