MCPcopy
hub / github.com/gitify-app/gitify / logWarn

Function logWarn

src/shared/logger.ts:34–40  ·  view source on GitHub ↗
(
  type: string,
  message: string,
  contexts: string[] = [],
)

Source from the content-addressed store, hash-verified

32 * @param contexts - Optional array of context strings appended to the log entry.
33 */
34export function logWarn(
35 type: string,
36 message: string,
37 contexts: string[] = [],
38) {
39 logMessage(log.warn, type, message, undefined, contexts);
40}
41
42/**
43 * Logs an error message via electron-log.

Callers 3

rendererLogWarnFunction · 0.90
preventSecondInstanceFunction · 0.90
logger.test.tsFile · 0.90

Calls 1

logMessageFunction · 0.85

Tested by

no test coverage detected