public interface IFormatter
Represents the interface for formatting log entry messsages.
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.
|
String |
getFooter()
Gest the footer string.
|
String |
getHeader()
Gets the header string.
|
String |
getLogHeader()
Represents start log header
|
String format(LogEntry entry)
Formats a log entry and return a string to be outputted.
entry
- The Log entry to format.String format(Date datatime)
Formats a datetime and return a string to be outputted.
datatime
- The datetime value for formatting to stringString getLogHeader()
Represents start log header
String getHeader()
Gets the header string.
String getFooter()
Gest the footer string.