Interface ValueGetter<Event,T>

Type Parameters:
T - - type of the computed value
Event - - 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

    Modifier and Type
    Method
    Description
    getValue(Event event)
    Get the result of applying the ValueGetter to the event
  • Method Details

    • getValue

      T getValue(Event event)
      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