UNPKG

gather-ts

Version:

A powerful code analysis and packaging tool designed for creating AI-friendly code representations for javascript and typescript projects.

25 lines (24 loc) 855 B
import { BaseService } from "@/types/services"; import { ILogger, ILoggerOptions, ILoggerDeps } from "./interfaces/ILogger"; export declare class Logger extends BaseService implements ILogger { private readonly deps; private readonly colors; private readonly timestamp; private readonly logLevel; private debugEnabled; constructor(deps: ILoggerDeps, options?: ILoggerOptions); initialize(): Promise<void>; cleanup(): void; private format; private formatWithTimestamp; private shouldLog; info(message: string): void; success(message: string): void; warn(message: string): void; error(message: string): void; debug(message: string): void; section(title: string): void; summary(title: string, stats: Record<string, any>): void; enableDebug(): void; isDebugEnabled(): boolean; }