I want to get the Console Log of the Kryonet as String so that i can display it in a TextArea. Now my question, is there a way to do it?
I'm stuck at this problem..
Any suggestions would be so much appreciated. Thanks
From the Kryonet documentation:
KryoNet makes use of the low overhead, lightweight MinLog logging library.
So looking at MinLog, which is just one source file, you just need to extend Logger to override the print method, and then call
Logger
print
Log.setLogger(new DifferentLoggerImplementation());
From the Kryonet documentation:
So looking at MinLog, which is just one source file, you just need to extend
Logger
to override theprint
method, and then call