backport
Version:
A CLI tool that automates the process of backporting commits
13 lines (12 loc) • 598 B
TypeScript
import winston from 'winston';
export declare let logger: winston.Logger;
export declare function initLogger({ interactive, githubToken, logFilePath, }: {
interactive: boolean;
githubToken?: string;
logFilePath?: string;
}): winston.Logger;
export declare function consoleLog(message: string): void;
export declare function setGithubToken(githubToken: string): void;
export declare function redactGithubToken(str: string): string;
export declare function githubTokenReplacer(key: string, value: unknown): unknown;
export type LogLevel = 'error' | 'warn' | 'info' | 'verbose' | 'debug';