storycrawler
Version:
Utilities to build Storybook crawling tools with Puppeteer
16 lines (15 loc) • 486 B
TypeScript
/// <reference types="node" />
import { Chalk } from 'chalk';
export type LogLevel = 'verbose' | 'silent' | 'normal';
export declare class Logger {
level: LogLevel;
color: Chalk;
constructor(level?: LogLevel);
debug(...msg: any[]): void;
log(...msg: (string | number | boolean)[]): void;
warn(...msg: (string | number | boolean)[]): void;
error(...msg: any[]): void;
errorStack(stack: any): void;
write(d: string | Buffer): void;
tick(): void;
}