@cucumber/cucumber
Version:
The official JavaScript implementation of Cucumber.
12 lines (11 loc) • 440 B
TypeScript
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;
}