MCPcopy
hub / github.com/wavetermdev/waveterm / log

Function log

emain/emain-log.ts:121–127  ·  view source on GitHub ↗
(...msg: any[])

Source from the content-addressed store, hash-verified

119const logger = winston.createLogger(loggerConfig);
120
121function log(...msg: any[]) {
122 try {
123 logger.info(format(...msg));
124 } catch (e) {
125 oldConsoleLog(...msg);
126 }
127}
128
129if (logRotateError != null) {
130 log("error rotating/pruning logs (non-fatal):", logRotateError);

Callers 2

createNewWaveWindowFunction · 0.90
emain-log.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected