migrating vendor frontend to new architecture
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
// static/admin/js/testing-hub.js
|
||||
|
||||
// Setup logging
|
||||
const TESTING_HUB_LOG_LEVEL = 3;
|
||||
|
||||
const testingLog = {
|
||||
error: (...args) => TESTING_HUB_LOG_LEVEL >= 1 && console.error('❌ [TESTING HUB ERROR]', ...args),
|
||||
warn: (...args) => TESTING_HUB_LOG_LEVEL >= 2 && console.warn('⚠️ [TESTING HUB WARN]', ...args),
|
||||
info: (...args) => TESTING_HUB_LOG_LEVEL >= 3 && console.info('ℹ️ [TESTING HUB INFO]', ...args),
|
||||
debug: (...args) => TESTING_HUB_LOG_LEVEL >= 4 && console.log('🔍 [TESTING HUB DEBUG]', ...args)
|
||||
};
|
||||
// ✅ Use centralized logger - ONE LINE!
|
||||
// Create custom logger for testing hub
|
||||
const testingLog = window.LogConfig.createLogger('TESTING-HUB');
|
||||
|
||||
/**
|
||||
* Testing Hub Alpine.js Component
|
||||
|
||||
Reference in New Issue
Block a user