UNPKG

@cucumber/cucumber

Version:

The official JavaScript implementation of Cucumber.

13 lines (12 loc) 497 B
import { Writable } from 'node:stream'; import { ILogger } from './types'; export declare class ConsoleLogger implements ILogger { private stream; private debugEnabled; private readonly console; constructor(stream: Writable, debugEnabled: boolean); debug(message?: any, ...optionalParams: any[]): void; error(message?: any, ...optionalParams: any[]): void; warn(message?: any, ...optionalParams: any[]): void; info(message?: any, ...optionalParams: any[]): void; }