Skip to content

Instantly share code, notes, and snippets.

@breskeby
Created June 8, 2011 17:08
Show Gist options
  • Save breskeby/1014842 to your computer and use it in GitHub Desktop.
Save breskeby/1014842 to your computer and use it in GitHub Desktop.
logging WTF
private final String attrName = "name"
private String name;
...
...
logger.debug(attrName + " is " + name);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment