concept47
concept47

Reputation: 31726

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?

Upvotes: 3

Views: 1024

Answers (1)

benc
benc

Reputation: 2018

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

Upvotes: 2

Related Questions