(...args: any[])
| 21 | } |
| 22 | |
| 23 | export function logWarn(...args: any[]): void { |
| 24 | if (__DEBUG__) { |
| 25 | // console.warn is slow in Chrome |
| 26 | // console.warn(...args); |
| 27 | console.log('DARK READER', ...args); |
| 28 | sendLogToBG('warn', ...args); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | export function logInfoCollapsed(title: string, ...args: any[]): void { |
| 33 | if (__DEBUG__) { |
no test coverage detected