1 | import { Debugger } from 'debug';
|
2 | declare type OutputLoggingHandler = (message: string, ...args: any[]) => void;
|
3 | export interface OutputLogger extends OutputLoggingHandler {
|
4 | readonly label: string;
|
5 | info: OutputLoggingHandler;
|
6 | step(nextStep?: string): OutputLogger;
|
7 | sibling(name: string): OutputLogger;
|
8 | }
|
9 | export declare function createLogger(label: string, verbose?: string | Debugger, initialStep?: string, infoDebugger?: Debugger): OutputLogger;
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare class GitLogger {
|
15 | private _out;
|
16 | error: OutputLoggingHandler;
|
17 | warn: OutputLoggingHandler;
|
18 | constructor(_out?: Debugger);
|
19 | silent(silence?: boolean): void;
|
20 | }
|
21 | export {};
|