Jump to content

Logger


Recommended Posts

Posted

1. 

public void printStackTrace(Exception e) {
     for (StackTraceElement el : e.getStackTrace()) {
	  log(el.toString());
     }
}

2. You don't need access to anything in there

Well, I do.. Now I have to write boilerplate code because they feel the need to obfuscate loggers :'( Thanks nevertheless

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...