devghost
Version:
👻 Find dead code, dead imports, and dead dependencies before they haunt your project
37 lines • 978 B
TypeScript
import type { AnalysisResult, AnalysisStats } from '../types';
/**
* Log a success message
*/
export declare function success(message: string): void;
/**
* Log an error message
*/
export declare function error(message: string): void;
/**
* Log a warning message
*/
export declare function warning(message: string): void;
/**
* Log an info message
*/
export declare function info(message: string): void;
/**
* Format bytes to human-readable size
*/
export declare function formatSize(bytes: number): string;
/**
* Format analysis statistics
*/
export declare function formatStats(stats: AnalysisStats): string;
/**
* Format analysis results for pretty printing
*/
export declare function formatResults(results: AnalysisResult, showStats?: boolean): string;
/**
* Create a simple progress indicator
*/
export declare function createProgressBar(total: number): {
update: (current: number) => void;
finish: () => void;
};
//# sourceMappingURL=logger.d.ts.map