Logging to some String instead console?


I have this problem:

All jme classes use java.util.logging.Logger class to create logs. And I need to save this logs to some String and manipulate with it. Why? Because in my application I have swing JTextArea where I want to show what is happening in jme part.

Is there any way how redirect logs to String?

You can write another log handler to add to the logging framework that will intercept logging and put it where you want it.