Package org.logevents
Interface LogEventFormatter
-
- All Known Implementing Classes:
ConsoleJsonLogEventFormatter
,ConsoleLogEventFormatter
,JsonLogEventFormatter
,PatternLogEventFormatter
,TTLLLogEventFormatter
public interface LogEventFormatter extends Function<LogEvent,String>
Represents a strategy for converting a LogEvent to a string.- Author:
- Johannes Brodwall
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
apply(LogEvent logEvent)
default void
configure(Configuration configuration)
default Optional<ExceptionFormatter>
getExceptionFormatter()
-
-
-
Method Detail
-
getExceptionFormatter
default Optional<ExceptionFormatter> getExceptionFormatter()
-
configure
default void configure(Configuration configuration)
-
-