MCPcopy
hub / github.com/cs-lazy-tools/ChatGPT-On-CS / log

Method log

src/main/backend/services/loggerService.ts:8–17  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

6 }
7
8 public log(msg: string) {
9 console.log(msg);
10 this.mainWindow.webContents.send('broadcast', {
11 event: 'log_show',
12 data: {
13 time: new Date().toLocaleTimeString(),
14 content: msg,
15 },
16 });
17 }
18
19 public error(msg: string) {
20 console.error('[ERROR]', msg);

Callers 15

ReplaceKeywordFunction · 0.80
handleInsertFileFunction · 0.80
handleInsertFileFunction · 0.80
MessageModalFunction · 0.80
fetchSessionsFunction · 0.80
getPlatformListFunction · 0.80
getThirdPartyPluginListFunction · 0.80
AppFunction · 0.80
index.tsxFile · 0.80
handleBroadcastFunction · 0.80
main.tsFile · 0.80
createWindowFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected