MCPcopy
hub / github.com/ntfstool/ntfstool / openLog

Function openLog

src/common/utils/AlfwCommon.js:90–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 * open the log file
89 */
90export function openLog() {
91 var logObj = saveLog.transports.file.getFile();
92 console.warn(logObj, "log getFile");
93 if (typeof logObj.path != "undefined") {
94 try {
95 execShell("open " + logObj.path);
96 } catch (e) {
97 saveLog.error(e, "log getFile error");
98 }
99 }
100}
101
102/**
103 * notice the system error

Callers

nothing calls this directly

Calls 1

execShellFunction · 0.90

Tested by

no test coverage detected