Java - Open the console or terminal a game is running in -


i creating complex game, because of use system.out.println(); lot test see if works or see if went wrong. see these messages have been going cmd or terminal , running there wondering if there easier way. thought of couple ways , came running batch, have no idea how make one, , way put button in game opens console game running in. don't know if second 1 possible wondering if there way! in advanced!

this logging frameworks for.

use sfl4j - http://www.slf4j.org/ - in code generate log events, , choose suitable backend purpose. suggest using slf4j-simple easy started , can sent file can view in favorite file viewer.

http://www.slf4j.org/api/org/slf4j/impl/simplelogger.html


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -