UNPKG

@embrace-io/react-native-navigation

Version:

A React Native wrapper for the OTel Navigation instrumentation library that creates telemetry data representing Navigation changes

27 lines (26 loc) 862 B
declare const consoleStub: { log: (..._: unknown[]) => void; warn: (..._: unknown[]) => void; error: (..._: unknown[]) => void; info: (..._: unknown[]) => void; trace: (..._: unknown[]) => void; debug: (..._: unknown[]) => void; table: () => void; group: (_?: string) => void; groupCollapsed: (_?: string) => void; groupEnd: () => void; }; declare const useConsole: (debug: boolean) => { log: (..._: unknown[]) => void; warn: (..._: unknown[]) => void; error: (..._: unknown[]) => void; info: (..._: unknown[]) => void; trace: (..._: unknown[]) => void; debug: (..._: unknown[]) => void; table: () => void; group: (_?: string) => void; groupCollapsed: (_?: string) => void; groupEnd: () => void; } | Console; export default useConsole; export type ConsoleStub = typeof consoleStub;