MCPcopy Index your code
hub / github.com/gitify-app/gitify / logError

Function logError

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

Source from the content-addressed store, hash-verified

48 * @param contexts - Optional array of context strings appended to the log entry.
49 */
50export function logError(
51 type: string,
52 message: string,
53 err: Error,
54 contexts: string[] = [],
55) {
56 logMessage(log.error, type, message, err, contexts);
57}
58
59function logMessage(
60 logFunction: AllowedLogFunction,

Callers 8

rendererLogErrorFunction · 0.90
openLogsDirectoryFunction · 0.90
registerListenersMethod · 0.90
performInitialCheckMethod · 0.90
runScheduledCheckMethod · 0.90
checkAndMarkFirstRunFunction · 0.90
registerStorageHandlersFunction · 0.90
logger.test.tsFile · 0.90

Calls 1

logMessageFunction · 0.85

Tested by

no test coverage detected