Simple log methods

You can use the simple log methods provided here.

There is a set of logging methods for the various levels provided as a convenience.
public void log<level>(String msg)
where <level> is the logging level:
  • fine
  • debug
  • info
  • warn
  • error
  • fatal
These methods will log the message (including any prefix) as-is to the logger.
log.setPrefix("PRE");
log.loginfo("Hello");

>> PRE Hello