logahawk.formatters
Interface MessageFormatter
- All Known Implementing Classes:
- HashedMessageFormatter, RollingHashedMessageFormatter, SimpleMessageFormatter, StandardMessageFormatter, ThreadMessageFormatter
public interface MessageFormatter
Formats a LogMeta and String message into a single string. The intent of this class is to be used by
Listeners that write a single string at a time, such as listenerEntries in a log file. Listeners of will use
a MessageFormatter before persisting the string.
Using MessageFormatters is not required, and is entirely dependent on the Listener implementation.
format
String format(LogMeta meta,
String message)