public Logger getLogger() { if (simulation != null) { return simulation.getLogger(); } else { return Logging.getInstance(); } }