Package net.logstash.logback.pattern
Interface ValueGetter<Event,T>
- Type Parameters:
T
- - type of the computed valueEvent
- - type of the event (ILoggingEvent, IAccessEvent)
- All Known Implementing Classes:
AbstractJsonPatternParser.LayoutValueGetter
public interface ValueGetter<Event,T>
Computes a value given an event.
- Author:
- Dmitry Andrianov
-
Method Summary
-
Method Details
-
getValue
Get the result of applying the ValueGetter to the event- Parameters:
event
- the event to apply this ValueGetter- Returns:
- the result of applying this ValueGetter on the event
-