- Issue created by @ambient.impact
The current console debug messages are alright but could be improved with colours, emoji, etc. to make visually scanning the console easier. Workbox's logging is a good example of the direction I'd like to take.
Have debug module enabled, visit a bunch of pages. Look at console log.
Workbox's infra/utils/log-helper.js
is fairly simple, and uses Chalk under the hood, a fairly popular terminal styling library.
Chalk 5.x only has an ESM release, so to allow it to be aggregated and minified by Drupal, we'll need to compile to UMD using a tool such as Rollup.
Only in the dev tools console.
None.
None.
Active
2.0
Code