Versions Compared

Key

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

...

It is important to separate between logging debug statements (has the game started, does this and this method do what it is supposed to do, etc.) and logging important data from the game that you would like to analyze. In Colored Trails there are two ways to collect the important data from an experiment. You can either make use of the different priorities in Log4J or use the ExperimentLogger class which allows you to log directly to a SQL database. To learn more about either method, please refer to subsections 5.2.1. Logging to stdout
and 5.2.2. Logging to MySQL with ExperimentLogger.