Skip to content

Instantly share code, notes, and snippets.

@jond3k
Created November 13, 2011 01:57
Show Gist options
  • Save jond3k/1361474 to your computer and use it in GitHub Desktop.
Save jond3k/1361474 to your computer and use it in GitHub Desktop.
yay log4x
#!/usr/bin/yay
# Highlights log4j style messages
debug and trace are @boring
info is @normal
warning is @interesting
error is @serious
fatal is @serious
# some words that aren't logger levels but are still important
exception is @serious
"unhandled exception" is @serious
important is @serious
@boring are hidden
@normal is normal
@interesting are yellow
@serious are red lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment