Files
SuperCharged-Claude-Code-Up…/skills/plugins/claude-hud/dist/debug.js
admin b723e2bd7d Reorganize: Move all skills to skills/ folder
- Created skills/ directory
- Moved 272 skills to skills/ subfolder
- Kept agents/ at root level
- Kept installation scripts and docs at root level

Repository structure:
- skills/           - All 272 skills from skills.sh
- agents/           - Agent definitions
- *.sh, *.ps1       - Installation scripts
- README.md, etc.   - Documentation

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 18:05:17 +00:00

15 lines
502 B
JavaScript

// Shared debug logging utility
// Enable via: DEBUG=claude-hud or DEBUG=*
const DEBUG = process.env.DEBUG?.includes('claude-hud') || process.env.DEBUG === '*';
/**
* Create a namespaced debug logger
* @param namespace - Tag for log messages (e.g., 'config', 'usage')
*/
export function createDebug(namespace) {
return function debug(msg, ...args) {
if (DEBUG) {
console.error(`[claude-hud:${namespace}] ${msg}`, ...args);
}
};
}
//# sourceMappingURL=debug.js.map