UNPKG

loqatevars

Version:

Locate JavaScript files with 'const' or 'process.env' usage in LLM-generated codebases

23 lines (19 loc) 737 B
/** * @file Configures and exports debug instances for the application. * @description This module uses the `debug` library to create namespaces for * different parts of the application, allowing for more organized and * readable logging. */ const debug = require('debug'); /** * Exports the debug instances for different application modules. * - `cli`: Used for logging within the command-line interface module. * - `utils`: Used for logging within the utility functions module. * * This centralized approach to logger configuration ensures consistency * and makes it easy to add new logging namespaces as the application grows. */ module.exports = { cli: debug('loqatevars:cli'), utils: debug('loqatevars:utils') };