UNPKG

@traversets/code-extractor

Version:

The TypeScript Code Extractor and Analyzer can be handy for RAG (Retrieval-Augmented Generation) systems for codebases. It provides a detailed and structured representation of the codebase that can be converted into embeddings, enabling more effective adv

10 lines (9 loc) 486 B
import { ApplicationLogger } from "../logger"; export declare const getLogger: () => ApplicationLogger; /** * Logs an error message with the provided context using the ApplicationLogger. * @param {any} error - The error object to log. * @param {string} methodName - The name of the method that encountered the error. * @param {any} props - Additional properties to include in the log context. */ export declare const logError: (error: any, methodName: string, props: any) => void;