UNPKG

@stencil/core

Version:

A Compiler for Web Components and Progressive Web Apps

26 lines (25 loc) 869 B
import * as d from '.'; export interface Logger { level: string; debug(...msg: any[]): void; info(...msg: any[]): void; warn(...msg: any[]): void; error(...msg: any[]): void; createTimeSpan(startMsg: string, debug?: boolean, appendTo?: string[]): LoggerTimeSpan; printDiagnostics(diagnostics: d.Diagnostic[], cwd?: string): void; red(msg: string): string; green(msg: string): string; yellow(msg: string): string; blue(msg: string): string; magenta(msg: string): string; cyan(msg: string): string; gray(msg: string): string; bold(msg: string): string; dim(msg: string): string; buildLogFilePath: string; writeLogs(append: boolean): void; } export interface LoggerTimeSpan { duration(): number; finish(finishedMsg: string, color?: string, bold?: boolean, newLineSuffix?: boolean): number; }