Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want to make certain text in my rails log a different color

I want to make sure all the lines that look like this (basically, lines that contain rails benchmarking info)

  Rendered search/_sidebar.html.erb (1.0ms)

... are outlined in a different color. How would I go about achieving this?

like image 813
concept47 Avatar asked Jan 28 '26 10:01

concept47


1 Answers

Try this It's how I color code my logs. There is a separate link in the page if you're using rails 3.2

like image 129
benc Avatar answered Jan 30 '26 01:01

benc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!