Skip to main content
Version: 2.5

Logging Example

To add logging of your own to the simulation logging, you can add some of your own slf4j logs following the slf4j documentation. An example would be as follows.

Logging information​

Using a logger (Java)

public class MyModel implements Model {
Logger logger = LoggerFactory.getLogger(MyModel.class);

public void step() {
logger.info("Step");
}
}