UNPKG

react-native-ui-lib

Version:

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)

36 lines (35 loc) 1.1 kB
interface BILogger { log: (event: any) => void; } declare class LogService<ErrorInfo extends { message: string; }> { private biLogger; injectBILogger: (biLogger: BILogger) => void; logBI: (event: any) => void; warn: (message?: any, ...optionalParams: any[]) => void; error: (message?: any, ...optionalParams: any[]) => void; forwardError: (errorInfo: ErrorInfo) => void; deprecationWarn: ({ component, oldProp, newProp }: { component: string; oldProp: string; newProp?: string | undefined; }) => void; componentDeprecationWarn: ({ oldComponent, newComponent }: { oldComponent: string; newComponent: string; }) => void; deprecationError: ({ component, oldProp, newProp }: { component: string; oldProp: string; newProp?: string | undefined; }) => void; componentDeprecationError: ({ oldComponent, newComponent }: { oldComponent: string; newComponent: string; }) => void; } declare const _default: LogService<{ message: string; }>; export default _default;