I have to add a panel to an application, this panel will log the errors of the application. I have create a class wich extends AppenderBase and i have configure the xml fil
For this you have to write your custom Appender
, for this see :logback.qos.ch/manual/appenders.html.
Then you need to using a component such as JTextArea for showing log
in it.
Then you have to write a Programmatic Configuration logback
for relation between your custom Appender
and your Swing-Component
. see :logback.qos.ch/manual/joran.html