runtime - Collecting the output messages in java -
i'm trying write code allows me collect runtime messages printed output console. example, while app running these exceptions pops , collect them , print them string in app. here picture of mean.
can me issue?
you can store console outputs file:
printstream out = new printstream(new fileoutputstream("output.txt")); system.seterr(out); also, can take of java logging framework.
Comments
Post a Comment