Class BasicLogger

java.lang.Object
VASSAL.build.module.BasicLogger
All Implemented Interfaces:
Buildable, GameComponent, CommandEncoder, Logger

public class BasicLogger extends Object implements Logger, Buildable, GameComponent, CommandEncoder
BasicLogger deals with VLOG Vassal Log files (i.e. NOT the errorLog--see below):
(1) Starts/stops logging to a VLOG file.
(2) Supplies prompt dialogs related to starting logfiles
(3) Steps through VLOG files ("step forward") button
(4) Executes the "UNDO" action when user clicks that Undo button
(5) Provides configurers to GlobalOptions for the Undo and Step Forward buttons

For the errorLog file see Logger, e.g.:
org.slf4j.Logger log = LoggerFactory.getLogger(Console.class);
log.error("write to errorlog as an error")
log.warning("write a warning")
log.info("write some info")