Highlights PHP error logs a little prettier when viewing or tailing
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
hl.sh

README.md

Pipe through this script when tailing or viewing php error logs to make them a little prettier. For now it just makes the timestamp red.

Installation:

Create a "bin" directory under your home directory: mkdir ~/bin

Then copy hl.sh into this directory.

Usage:

tail -f /var/log/php/error_log | hl.sh