MCPcopy
hub / github.com/darkreader/darkreader / logWarn

Function logWarn

src/background/utils/log.ts:13–18  ·  view source on GitHub ↗
(...args: any[])

Source from the content-addressed store, hash-verified

11}
12
13export function logWarn(...args: any[]): void {
14 if (__DEBUG__) {
15 console.warn(...args);
16 sendLog('warn', args);
17 }
18}
19
20export function logInfoCollapsed(title: string, ...args: any[]): void {
21 if (__DEBUG__) {

Callers 13

initMethod · 0.90
initMethod · 0.90
registerScriptsMethod · 0.90
unregisterScriptsMethod · 0.90
saveSettingsMethod · 0.90
saveSyncSettingMethod · 0.90
UserStorageClass · 0.90
setMethod · 0.90
filterSiteListMethod · 0.90
updateAutoStateMethod · 0.90
startMethod · 0.90

Calls 1

sendLogFunction · 0.90

Tested by

no test coverage detected