UNPKG

unmock-core

Version:

[![npm](https://img.shields.io/npm/v/unmock-core.svg)][npmjs] [![CircleCI](https://circleci.com/gh/unmock/unmock-js.svg?style=svg)](https://circleci.com/gh/unmock/unmock-js) [![codecov](https://codecov.io/gh/unmock/unmock-js/branch/dev/graph/badge.svg)](h

15 lines 564 B
/// <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