1 | import { ComponentLoggerOptions, DiagLogFunction, DiagLogger, DiagLoggerApi } from '../diag/types';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | export declare class DiagAPI implements DiagLogger, DiagLoggerApi {
|
7 | private static _instance?;
|
8 |
|
9 | static instance(): DiagAPI;
|
10 | |
11 |
|
12 |
|
13 |
|
14 | private constructor();
|
15 | setLogger: DiagLoggerApi['setLogger'];
|
16 | /**
|
17 | *
|
18 | */
|
19 | createComponentLogger: (options: ComponentLoggerOptions) => DiagLogger;
|
20 | verbose: DiagLogFunction;
|
21 | debug: DiagLogFunction;
|
22 | info: DiagLogFunction;
|
23 | warn: DiagLogFunction;
|
24 | error: DiagLogFunction;
|
25 | /**
|
26 | * Unregister the global logger and return to Noop
|
27 | */
|
28 | disable: () => void;
|
29 | }
|
30 | //# sourceMappingURL=diag.d.ts.map |
\ | No newline at end of file |