Ideas for Arc XP

Improve visibility of console logs when developing locally

When I use `console.log()` locally, it appears like this in the terminal:

```

fusion-engine | Hello world

fusion-engine | Hola mundo

```

This is difficult to spot in the midst of all the other fusion-engine messages.

 

It would be nice to be able to immediately find these logs by having them be a different color or something.

  • Guest
  • Dec 5 2019
  • Future consideration
  • Attach files
  • JP Blanchette commented
    September 25, 2020 14:01

    Thanks! More colours reference: https://stackoverflow.com/a/41407246/1311172

  • Tania Lee commented
    December 11, 2019 22:17

    Could you test to see if this can be done in your local env? Maybe try 

    console.log('\x1b[36m%s\x1b[0m', 'I am cyan');  //cyan