Print java stack trace from anywhere

Written by

in

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

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

Comments

Leave a Reply

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