UNPKG

580 BTypeScriptView Raw
1import { iConsoleLine, iLogItem } from '../interfaces';
2import { LogItemType } from '../enums';
3export declare abstract class LogItem implements iLogItem {
4 abstract readonly type: LogItemType;
5 abstract readonly className: string;
6 get passed(): boolean;
7 get failed(): boolean;
8 get isOptional(): boolean;
9 readonly message: string;
10 readonly timestamp: Date;
11 constructor(message: string);
12 toString(): string;
13 toConsole(): iConsoleLine[];
14 toHtml(): string;
15 toJson(): any;
16 toCsv(): string;
17 toTsv(): string;
18 toPsv(): string;
19}