Package elf4j.engine.service.pattern
Interface LogPattern
-
- All Superinterfaces:
PerformanceSensitive
- All Known Implementing Classes:
ClassPattern,FileNamePattern,JsonPattern,LevelPattern,LineNumberPattern,MessageAndExceptionPattern,MethodPattern,PatternGroup,SystemEnvironmentPattern,SystemPropertyPattern,ThreadPattern,TimestampPattern,VerbatimPattern
@ThreadSafe public interface LogPattern extends PerformanceSensitive
Implementation should be thread-safe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrender(LogEvent logEvent, StringBuilder target)Extracts the content of particular interest to this log pattern instance from the specified log event, and appends the result to the specified target aggregator of the final log message-
Methods inherited from interface elf4j.engine.service.writer.PerformanceSensitive
includeCallerDetail, includeCallerThread
-
-
-
-
Method Detail
-
render
void render(LogEvent logEvent, StringBuilder target)
Extracts the content of particular interest to this log pattern instance from the specified log event, and appends the result to the specified target aggregator of the final log message- Parameters:
logEvent- entire log content data source to rendertarget- logging text aggregator of the final log message
-
-