MCPcopy
hub / github.com/QLHazyCoder/FlowPilot / log

Function log

content/utils.js:249–257  ·  view source on GitHub ↗

* Send a log message to Side Panel via Background. * @param {string} message * @param {string} level - 'info' | 'ok' | 'warn' | 'error'

(message, level = 'info')

Source from the content-addressed store, hash-verified

247 * @param {string} level - 'info' | 'ok' | 'warn' | 'error'
248 */
249function log(message, level = 'info') {
250 chrome.runtime.sendMessage({
251 type: 'LOG',
252 source: SCRIPT_SOURCE,
253 step: null,
254 payload: { message, level, timestamp: Date.now() },
255 error: null,
256 });
257}
258
259/**
260 * Report that this content script is loaded and ready.

Callers 15

signup-page.jsFile · 0.85
resendVerificationCodeFunction · 0.85
handle405ResendErrorFunction · 0.85
waitForSignupEntryStateFunction · 0.85
step3_fillEmailPasswordFunction · 0.85
fillVerificationCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected