mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 08:11:12 -05:00
Implement complete roadmap
This commit is contained in:
@@ -24,5 +24,26 @@ export const logger = {
|
||||
},
|
||||
debug: (...args: unknown[]): void => {
|
||||
if (isDev) console.debug(...args);
|
||||
},
|
||||
// Performance monitoring
|
||||
performance: (component: string, duration: number): void => {
|
||||
if (isDev) {
|
||||
console.log(`⚡ ${component} rendered in ${duration}ms`, {
|
||||
component,
|
||||
duration,
|
||||
category: 'performance',
|
||||
});
|
||||
}
|
||||
},
|
||||
// Moderation action tracking
|
||||
moderationAction: (action: string, itemId: string, duration: number): void => {
|
||||
if (isDev) {
|
||||
console.log(`🎯 Moderation action: ${action}`, {
|
||||
action,
|
||||
itemId,
|
||||
duration,
|
||||
category: 'moderation',
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user