I would like to show errors logged by SLF4J in TextArea
in JavaFX. What I have so far is an appender
in logback-test.xml:
<
You could configure Logback to write to System.out and System.err.
Configure those streams (setOut, setErr) in your application to write to the textarea.
This solution should work with any SLF4J binding without code changes.
Basically you would implement a read-only JavaFX console.
Also have a look at the following answer: https://stackoverflow.com/a/9219837/506855