Skip to content

Instantly share code, notes, and snippets.

@Artur-Sulej
Created December 2, 2015 15:56
Show Gist options
  • Save Artur-Sulej/915fb497a03db252a0fa to your computer and use it in GitHub Desktop.
Save Artur-Sulej/915fb497a03db252a0fa to your computer and use it in GitHub Desktop.
Probably best way to print stacktrace.
protected void logStackTrace() {
(new Throwable()).printStackTrace();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment