MCPcopy Create free account
hub / github.com/chokcoco/iCSS / debugLog

Function debugLog

MCP/server.js:22–26  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

20// 调试模式检测
21const isDebugMode = process.env.NODE_ENV === 'development' || process.env.DEBUG;
22const debugLog = (...args) => {
23 if (isDebugMode) {
24 console.error(`[DEBUG ${new Date().toISOString()}]`, ...args);
25 }
26};
27
28class IcssServer {
29 constructor() {

Callers 13

constructorMethod · 0.70
setupDatabaseMethod · 0.70
initializeDatabaseMethod · 0.70
loadSearchIndexMethod · 0.70
waitForReadyMethod · 0.70
setupHandlersMethod · 0.70
searchCssTechniquesMethod · 0.70
getCssArticleMethod · 0.70
searchCssDemosMethod · 0.70
getCssDemoMethod · 0.70
listCssCategoriesMethod · 0.70
getRandomCssTipMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected