thomasp85 / fiery

A flexible and lightweight web server
https://fiery.data-imaginist.com
Other
240 stars 12 forks source link

Colorize logger_console output #25

Closed cpsievert closed 6 years ago

cpsievert commented 6 years ago

It'd be awesome if console output was colored sensibly based on event/request$status values -- perhaps via https://github.com/r-lib/crayon#readme

thomasp85 commented 6 years ago

I’ve already considered this, but got away from it since there’s no support in RStudio for crayon AFAIK

cpsievert commented 6 years ago

Huh, works for me, but looks as though RStudio may/may-not have ANSI support https://github.com/r-lib/crayon/commit/b5221ab0246050dc687dc8b9964d5c44c947b265#diff-a97512f9c006b3c3c804312b97da5545R52

screen shot 2017-10-17 at 1 43 10 pm