Professional logging system for userscripts with history, colored labels and emoji support. Centralized logger for all your scripts.
Bu script direkt olarak kurulamaz. Başka scriptler için bir kütüphanedir ve meta yönergeleri içerir // @require https://update.greasyfork.org/scripts/553735/1684002/Userscript%20Logger%20Pro.js
📌 DESCRIPTION: Professional logging system for userscripts with colored console output, emoji support and log history. Centralized logger for all your scripts.
📌 ADDITIONAL INFO:
Userscript Logger Pro - Beautiful and powerful logging library for userscripts
🎨 Colored Console Output - Different colors for debug, info, success, warning, error 🎭 Emoji Support - Customizable emoji for visual script identification 📚 Log History - Stores logs in memory with timestamps 🔍 Filtering - Get logs by level or export to JSON 🌐 Universal - Works with all userscript managers 📦 Zero Dependencies - Lightweight standalone library
// Add to your script header:
// @require https://greasyfork.org/scripts/YOUR_SCRIPT_ID/code/Userscript%20Logger%20Pro.user.js
const logger = window.MaxScorpyLogger.createLogManager({
scriptName: 'MY-SCRIPT',
emoji: '🚀'
});
logger.info('Script started');
logger.success('Task completed');
logger.error('Error occurred', errorObject);
// Get log history
const logs = logger.getHistory();
// Get only errors
const errors = logger.getLogsByLevel('error');
// Export to JSON
const json = logger.exportLogs();
🔍 debug (purple) | ℹ️ info (blue) | ✅ success (green) | ⚠️ warning (orange) | ❌ error (red)
✅ Centralized logging for all your scripts ✅ Beautiful colored console output ✅ Developer-friendly simple API ✅ Production-ready with history and filtering ✅ Zero overhead, lightweight and fast
logger.debug() for development onlylogger.getLogsByLevel('error')📌 LICENSE: MIT
📌 CATEGORY: ☑ Developer Tools
📌 TAGS (comma-separated): logging, logger, debug, console, developer-tools, library, utility, tampermonkey, violentmonkey, greasemonkey
📌 HOMEPAGE: https://greasyfork.org/ru/users/1092923-maxscorpy