| 1 | import { consoleWarn, PREFIX } from './utils' |
| 2 | |
| 3 | export interface Logger { |
| 4 | time: (label: string) => void |
| 5 | timeEnd: (label: string) => void |
| 6 | warn: (...args: any[]) => void |
| 7 | } |
| 8 | |
| 9 | let uid = 0 |
| 10 | export function createLogger(debug: boolean): Logger { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…