cli-logger.d.ts 405 B

123456789
  1. /// <reference types="node" />
  2. import { logging } from '../src';
  3. export interface ProcessOutput {
  4. write(buffer: string | Buffer): boolean;
  5. }
  6. /**
  7. * A Logger that sends information to STDOUT and STDERR.
  8. */
  9. export declare function createConsoleLogger(verbose?: boolean, stdout?: ProcessOutput, stderr?: ProcessOutput, colors?: Partial<Record<logging.LogLevel, (s: string) => string>>): logging.Logger;