Print java stack trace from anywhere

Need to know which code call a specific location?
Dump the stack trace:

LOG.trace(ExceptionUtils.getStackTrace(new Throwable()));

Leave a Reply

Your email address will not be published. Required fields are marked *


6 − = five