Greasy Fork is available in English.

console-message-v2

Rich text console logging

لا ينبغي أن لا يتم تثبيت هذا السكريت مباشرة. هو مكتبة لسكبتات لتشمل مع التوجيه الفوقية // @require https://update.greasyfork.org/scripts/389748/730537/console-message-v2.js

المؤلف
spiralx
الإصدار
2.0.0
تم إنشاؤه
04-09-2019
تم تحديثه
04-09-2019
الترخيص
لا يوجد

console-message-v2.js - rich-text console logging

Revamped version of library written using ES6 and with some added functionality.

Based on the original console.message library (the old version can be @required as a library from here still).

Example
console.message()
  .span({ color: 'red' })
    .text('this is red! ')
    .text('this is green! ', { color: 'green' })
    .text('this is again red!')
  .line('info')
  .object(console)
  .trace()
  .line()
  .element(document.body)
  .print()