public final class SimpleFormatter extends Formatter
Represents the default implementation of IFormatter interface.
Constructor and Description |
---|
SimpleFormatter()
Creates a new SimpleFormatter instance.
|
SimpleFormatter(String header,
String footer)
Creates a new SimpleFormatter instance.
|
Modifier and Type | Method and Description |
---|---|
String |
format(Date datatime)
Formats a datetime and return a string to be outputted.
|
String |
format(LogEntry entry)
Formats a log entry and return a string to be outputted.
|
getDefaultFormatter, getFooter, getHeader, getLogHeader, setDefaultFormatter