I'm currently trying to make Log4j 2
log into a JTextPane
. It should act like a STDERR or STDOUT in Netbeans IDE console (incl. text style - color).
I know that I need to create an appender and connect it with JTextPane
, however I don't know how do it using Log4j 2
.
Do you have any suggestions?
I appreciate your help, marty