unmock-core
Version:
[][npmjs] [](https://circleci.com/gh/unmock/unmock-js) [](h
15 lines • 564 B
TypeScript
/// <reference types="node" />
import { Console } from "console";
import { LogType } from "./types";
export declare class CustomConsole extends Console {
static format(type: LogType, message: string): string;
private readonly stdout;
private readonly stderr;
private readonly nIndent;
constructor(stdout: NodeJS.WritableStream, stderr: NodeJS.WritableStream);
instruct(firstArg: any, ...args: any[]): void;
error(firstArg: any, ...args: any[]): void;
private logMessage;
private logError;
}
//# sourceMappingURL=console.d.ts.map