Created
December 2, 2015 15:56
-
-
Save Artur-Sulej/915fb497a03db252a0fa to your computer and use it in GitHub Desktop.
Probably best way to print stacktrace.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void logStackTrace() { | |
(new Throwable()).printStackTrace(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment