UNPKG

607 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/// <reference types="node" />
9import { logging } from '../src';
10export interface ProcessOutput {
11 write(buffer: string | Buffer): boolean;
12}
13/**
14 * A Logger that sends information to STDOUT and STDERR.
15 */
16export declare function createConsoleLogger(verbose?: boolean, stdout?: ProcessOutput, stderr?: ProcessOutput, colors?: Partial<Record<logging.LogLevel, (s: string) => string>>): logging.Logger;