Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { Logger } from '../../core/logger.js';
|
||||
|
||||
export const scrollSteps = {
|
||||
onEnter(index, el) {
|
||||
el.classList.add('active');
|
||||
document.body.dataset.activeScrollStep = index;
|
||||
console.log(`[ScrollStep] Enter: ${index}`);
|
||||
Logger.info(`[ScrollStep] Enter: ${index}`);
|
||||
// Beispielaktionen
|
||||
if (index === 1) showIntro();
|
||||
if (index === 2) activateChart();
|
||||
@@ -12,7 +14,7 @@ export const scrollSteps = {
|
||||
onLeave(index, el) {
|
||||
el.classList.remove('active');
|
||||
el.style.transitionDelay = '';
|
||||
console.log(`[ScrollStep] Leave: ${index}`);
|
||||
Logger.info(`[ScrollStep] Leave: ${index}`);
|
||||
|
||||
if (document.body.dataset.activeScrollStep === String(index)) {
|
||||
delete document.body.dataset.activeScrollStep;
|
||||
@@ -25,9 +27,9 @@ export const scrollSteps = {
|
||||
};
|
||||
|
||||
|
||||
function showIntro() { console.log('Intro sichtbar'); }
|
||||
function hideIntro() { console.log('Intro ausgeblendet'); }
|
||||
function activateChart() { console.log('Chart aktiviert'); }
|
||||
function deactivateChart() { console.log('Chart deaktiviert'); }
|
||||
function revealQuote() { console.log('Zitat eingeblendet'); }
|
||||
function hideQuote() { console.log('Zitat ausgeblendet'); }
|
||||
function showIntro() { Logger.info('Intro sichtbar'); }
|
||||
function hideIntro() { Logger.info('Intro ausgeblendet'); }
|
||||
function activateChart() { Logger.info('Chart aktiviert'); }
|
||||
function deactivateChart() { Logger.info('Chart deaktiviert'); }
|
||||
function revealQuote() { Logger.info('Zitat eingeblendet'); }
|
||||
function hideQuote() { Logger.info('Zitat ausgeblendet'); }
|
||||
|
||||
Reference in New Issue
Block a user