How to write your own formatter.
The interface
There is only one method in the Formatter interface.
public String formatMessage(LogRecord lr);
The method should take the LogRecord and build one String
containing the text that will be finally logged.
Example
coming soon