MCPcopy
hub / github.com/stravu/crystal / warn

Method warn

main/src/utils/logger.ts:260–262  ·  view source on GitHub ↗
(message: string, error?: Error)

Source from the content-addressed store, hash-verified

258 }
259
260 warn(message: string, error?: Error) {
261 this.log('WARN', message, error);
262 }
263
264 error(message: string, error?: Error) {
265 this.log('ERROR', message, error);

Callers 15

handleSessionCreatedFunction · 0.80
handlePromptClickFunction · 0.80
loadPreferenceFunction · 0.80
fetchGitStatusIfNeededFunction · 0.80
FilePathAutocompleteFunction · 0.80
componentDidCatchMethod · 0.80
loadPreferenceFunction · 0.80
MainProcessLoggerFunction · 0.80
handleSessionCreatedFunction · 0.80
CreateSessionDialogFunction · 0.80
handlePromptClickFunction · 0.80

Calls 1

logMethod · 0.95

Tested by

no test coverage detected