1 | import type { Diagnostic, Logger, LogLevel, LoggerTimeSpan } from '@stencil/core/internal';
|
2 | export declare class TestingLogger implements Logger {
|
3 | private isEnabled;
|
4 | setLevel(_level: LogLevel): void;
|
5 | getLevel(): LogLevel;
|
6 | enableColors(_useColors: boolean): void;
|
7 | emoji(_: string): string;
|
8 | info(...msg: any[]): void;
|
9 | warn(...msg: any[]): void;
|
10 | error(...msg: any[]): void;
|
11 | debug(...msg: any[]): void;
|
12 | color(_msg: string, _color: 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'gray'): void;
|
13 | red(msg: string): string;
|
14 | green(msg: string): string;
|
15 | yellow(msg: string): string;
|
16 | blue(msg: string): string;
|
17 | magenta(msg: string): string;
|
18 | cyan(msg: string): string;
|
19 | gray(msg: string): string;
|
20 | bold(msg: string): string;
|
21 | dim(msg: string): string;
|
22 | bgRed(msg: string): string;
|
23 | createTimeSpan(_startMsg: string, _debug?: boolean): LoggerTimeSpan;
|
24 | printDiagnostics(_diagnostics: Diagnostic[]): void;
|
25 | }
|