- labels: --> Engine Functionality
- assigned_to: nobody --> krokken
Allow the JTBRPG engine to check its command line
arguments, and set it's logging level appropriately.
Example:
JTBRPG -logfinest
JTBRPG -logfiner
JTBRPG -logfine
JTBRPG -logconfig
JTBRPG -loginfo
JTBRPG -logwarning
JTBRPG -logsevere
Only one of these makes sense at a time. I've typed
them in order of priority such that if more than one
such parameter is specified at the same time, the
higher one takes precedence. For example, "JTBRPG
-logfinest -logsevere" will set the loggers to display
all message of level "finest" and above. The default
behaviour is "loginfo".
The "main" function parses the command line parameters.
If it can, it'll handle any processing directly (e.g.
setting the global logging level). The parameters it
can't do anything with (for example, the game to load)
are passed into the constructor of the JTBRPG object.