At this moment, the limited buffer size of the Logger has
as a result that SEVERE messages are not available
anymore when many INFO, FINE, or other messages are
generated in the same package. I would suggest to
keep - next to the history with a limited buffer size -
also the last n messages of each Level per package. n
could be, e.g. 20 for SEVERE, 20 for WARNING, 10 for
INFO, and 5 for anything below INFO. With a setter, the
user could influence these numbers for all packages.
In adition to the per-package logging of the tail of the
history of the messages, the user could be given access
to e.g. the last SEVERE messages, from which 20 per
package will be kept. This could again be done per
package, or for the total simulation, combining all
available SEVERE, WARNING, INFO, or other messages
per level. Especially for SEVERE and WARNING, this will
help debugging tremendously (I now scan through all
packages and miss most exceptions because they have
been kicked out by FINE messages). It is, of course,
possible to JUST log WARNING and above, but errors
usually come unexpected...