Ensure logging events are on the JavaFX thread
@@ -226,7 +226,7 @@ public class Logging {
if (message != null) {
lgConsole.log(level, message);
lgFile.log(level, message);
- Bus.post(new LogEvent(level, message));
+ Threads.runFx(() -> Bus.post(new LogEvent(level, message)));
}
}
