Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
14.3.3
14.3.3
SEAMCAT provides the option to run a simulation in debug mode. With this, you are informed about all relevant calculation steps and the values used, in a similar manner than for the built-in methods. It is therefore advisable to implement this functionality also onto the your plugin in order to make it more transparent to third party users.

The implementation is simply done with this, but requires the apache log4j-1.2x.jar on your development environment:

Image Modified

Its application could look like this (from the above example):

Anchor
F328
F328
Figure 328: Example of logging in your plugin’s code

It would generate the corresponding debug information as depicted in Figure 329. It is integrated automatically to the rest of the SEAMCAT code log file.

Anchor
F329
F329
Figure 329: Output results of the plugin logger

...