@rnv/cli
Version:
ReNative CLI
36 lines • 2.01 kB
TypeScript
import { RnvContext, RnvApiLogger, RnvApiChalk, RnvApiChalkFn } from '@rnv/core';
export declare const chalk: () => RnvApiChalk;
export declare const logInitialize: () => void;
export declare const logWelcome: () => void;
export declare function stripAnsi(string: string): string;
export declare const logAndSave: (msg: string, skipLog?: boolean) => void;
export declare const getCurrentCommand: (excludeDollar?: boolean) => string;
export declare const logToSummary: (v: string) => void;
export declare const logRaw: (...args: Array<string>) => void;
export declare const logSummary: (opts?: {
header?: string | undefined;
headerStyle?: "success" | "warning" | "error" | "none" | undefined;
} | undefined) => void;
export declare const logTask: (task: string, customChalk?: string | RnvApiChalkFn) => void;
export declare const logDefault: (task: string, customChalk?: string | RnvApiChalkFn) => void;
export declare const logInitTask: (task: string) => void;
export declare const logExitTask: (task: string) => void;
export declare const logHook: (hook?: string, msg?: string) => void;
export declare const logWarning: (msg: string | boolean | unknown, opts?: {
skipSanitizePaths?: boolean | undefined;
} | undefined) => void;
export declare const logInfo: (msg: string) => void;
export declare const logDebug: (...args: Array<string>) => void;
export declare const isInfoEnabled: () => boolean;
export declare const logSuccess: (msg: string) => void;
export declare const logError: (e: Error | string | unknown, opts?: {
skipAnalytics: boolean;
}) => void;
export declare const logAppInfo: (c: RnvContext) => void;
export declare const printIntoBox: (str: string, maxLen?: number) => any;
export declare const printArrIntoBox: (arr: Array<string>, prefix?: string) => string;
export declare const printBoxStart: (str: string, str2?: string) => any;
export declare const printBoxEnd: () => any;
declare const Logger: RnvApiLogger;
export default Logger;
//# sourceMappingURL=index.d.ts.map