JBotSim
JBotSim copied to clipboard
MessageEngine debug mode
The DefaultMessageEngine offers a method setDebug() that makes it possible to print a log of the messages in the Standard Error. It would be good to generalize this method into the MessageEngine interface, so that all message engines can offer such a feature, or to externalize it to another component through the message listeners interface.
A method setDebug() was added to the MessageEngine interface. A default (empty) implementation was provided, for compatibility with potential existing message engine.
Merged into develop.
(Will be closed when released.)
The above changes correspond to commit 6e499fa (the commit message was missing reference to this issue).
Merged into develop.
Looks good to me. Ready to be shipped in next release.
Rmq: I don't think this new piece of code is used anywhere in the production/test/example code of the project. This is not vital, but we should try and add something in that direction, should the occasion arise.