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

logger.native.ts

11 lines302 Bytes

1import type { Logger } from './logger'
2​
3/**
4 * See https://github.com/tannerlinsley/react-query/issues/795
5 * and https://github.com/tannerlinsley/react-query/pull/3246/#discussion_r795105707
6 */
7export const defaultLogger: Logger = {
8 log: console.log,
9 warn: console.warn,
10 error: console.warn,