Lines Matching refs:NapiLog
19 const { NapiLog } = require("./tools/NapiLog");
36 NapiLog.init(ops.loglevel, path.join("" + ops.out, "napi_gen.log"))
42 NapiLog.logInfo("fileNames and pathDir both cannot be empty at the same time");
66 NapiLog.logInfo('[Func: readDirFiles] No files in path %s!'.format(pathDir));
87 NapiLog.logError('readdir file error ' + err);
95 NapiLog.logInfo("check file []".format(fileName))
98 NapiLog.logInfo("convert .h file to .ts file...")
110 NapiLog.logError(result[1]);
115 NapiLog.logError('file name ' + fn + ' format invalid in function of checkGenerate!');
119 let ret = NapiLog.getResult();
122 NapiLog.logInfo('success');
126 NapiLog.logInfo('fail\n' + ret[1]);