import chalk from "chalk" ; import { Logger , OnSetCwdInfo } from "../logger" ; /**
 * Logs on important events.
 */ export class ConsoleLogger implements Logger { public constructor ( public readonly stderr , public readonly stdout ) { } param message public log ( message ) { console . log ( message ) ; } param info public onSetCwd ( info ) { console . log ( chalk . grey . italic ( `Now in ${ info . cwd }` ) ) ; } }