Rich text console logging
This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/370255/612436/consolemessage.js
From github.com/astoilkov/console.message.
Example:
console.message()
.span({ color: 'red' })
.text('this is red! ')
.span({ color: 'green' })
.text('this is green! ')
.spanEnd()
.text('this is again red!')
.spanEnd()
.line()
.element(document.body)
.print()