1 | import type { ReactotronCore } from "../reactotron-core-client";
|
2 |
|
3 |
|
4 |
|
5 | declare const logger: () => (reactotron: ReactotronCore) => {
|
6 | features: {
|
7 | log: (...args: any[]) => void;
|
8 | logImportant: (...args: any[]) => void;
|
9 | debug: (message: any, important?: any) => void;
|
10 | warn: (message: any) => void;
|
11 | error: (message: any, stack: any) => void;
|
12 | };
|
13 | };
|
14 | export default logger;
|
15 | export type LoggerPlugin = ReturnType<typeof logger>;
|
16 | export declare const hasLoggerPlugin: (reactotron: ReactotronCore) => reactotron is ReactotronCore & {
|
17 | log: (...args: any[]) => void;
|
18 | logImportant: (...args: any[]) => void;
|
19 | debug: (message: any, important?: any) => void;
|
20 | warn: (message: any) => void;
|
21 | error: (message: any, stack: any) => void;
|
22 | };
|
23 | export declare const assertHasLoggerPlugin: (reactotron: ReactotronCore) => asserts reactotron is ReactotronCore & {
|
24 | log: (...args: any[]) => void;
|
25 | logImportant: (...args: any[]) => void;
|
26 | debug: (message: any, important?: any) => void;
|
27 | warn: (message: any) => void;
|
28 | error: (message: any, stack: any) => void;
|
29 | };
|