mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
12 lines
364 B
JavaScript
12 lines
364 B
JavaScript
//#region src/dom/utils/log.ts
|
|
const warned = /* @__PURE__ */ new Set();
|
|
function logMissingFeature(displayName, featureName) {
|
|
const key = `${displayName}:${featureName}`;
|
|
if (warned.has(key)) return;
|
|
warned.add(key);
|
|
console.warn(`${displayName} requires ${featureName} feature`);
|
|
}
|
|
//#endregion
|
|
export { logMissingFeature };
|
|
|
|
//# sourceMappingURL=log.js.map
|