[251124] fix: Log정리-3
🕐 커밋 시간: 2025. 11. 24. 12:13:08 📊 변경 통계: • 총 파일: 10개 • 추가: +29줄 • 삭제: -110줄 📁 추가된 파일: + com.twin.app.shoptime/src/utils/debug.js 📝 수정된 파일: ~ com.twin.app.shoptime/src/actions/playActions.js ~ com.twin.app.shoptime/src/actions/productActions.js ~ com.twin.app.shoptime/src/components/VideoPlayer/VideoPlayer.js ~ com.twin.app.shoptime/src/hooks/useFocusHistory/useFocusHistory.js ~ com.twin.app.shoptime/src/lunaSend/common.js ~ com.twin.app.shoptime/src/reducers/panelReducer.js ~ com.twin.app.shoptime/src/views/HomePanel/HomePanel.jsx ~ com.twin.app.shoptime/src/views/MyPagePanel/MyPageSub/TermsOfService/TermsOfOptional.jsx ~ com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx 🔧 함수 변경 내용: 📄 com.twin.app.shoptime/src/actions/playActions.js (javascript): ❌ Deleted: dwarn(), derror() 📄 com.twin.app.shoptime/src/actions/productActions.js (javascript): ❌ Deleted: dwarn(), derror() 📄 com.twin.app.shoptime/src/components/VideoPlayer/VideoPlayer.js (javascript): ❌ Deleted: dwarn(), derror() 📄 com.twin.app.shoptime/src/hooks/useFocusHistory/useFocusHistory.js (javascript): ❌ Deleted: dwarn(), derror() 📄 com.twin.app.shoptime/src/lunaSend/common.js (javascript): ❌ Deleted: dwarn(), derror() 📄 com.twin.app.shoptime/src/reducers/panelReducer.js (javascript): ❌ Deleted: dwarn(), derror() 📄 com.twin.app.shoptime/src/views/HomePanel/HomePanel.jsx (javascript): ❌ Deleted: dwarn(), derror() 📄 com.twin.app.shoptime/src/views/MyPagePanel/MyPageSub/TermsOfService/TermsOfOptional.jsx (javascript): ❌ Deleted: dwarn(), derror() 📄 com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx (javascript): ❌ Deleted: dwarn(), derror() 🔧 주요 변경 내용: • 핵심 비즈니스 로직 개선 • UI 컴포넌트 아키텍처 개선 • API 서비스 레이어 개선 • 공통 유틸리티 함수 최적화 Performance: 코드 최적화로 성능 개선 기대
This commit is contained in:
@@ -1,20 +1,10 @@
|
||||
import { types } from '../actions/actionTypes';
|
||||
import { panel_names } from '../utils/Config';
|
||||
import { createDebugHelpers } from '../utils/debug';
|
||||
|
||||
// Toggle debug logging for this reducer
|
||||
// 디버그 헬퍼 설정
|
||||
const DEBUG_MODE = false;
|
||||
|
||||
const dlog = (...args) => {
|
||||
if (DEBUG_MODE) console.log(...args);
|
||||
};
|
||||
|
||||
const dwarn = (...args) => {
|
||||
if (DEBUG_MODE) console.warn(...args);
|
||||
};
|
||||
|
||||
const derror = (...args) => {
|
||||
console.error(...args);
|
||||
};
|
||||
const { dlog, dwarn, derror } = createDebugHelpers(DEBUG_MODE);
|
||||
|
||||
const initialState = {
|
||||
// 기존 상태 - 완전히 호환됨
|
||||
|
||||
Reference in New Issue
Block a user