Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

logger.ts

9 lines179 Bytes

1export interface Logger {
2 log: LogFunction
3 warn: LogFunction
4 error: LogFunction
5}
6​
7type LogFunction = (...args: any[]) => void
8​
9export const defaultLogger: Logger = console