Interface KibanaLogField
-
- All Known Implementing Classes:
KibanaLogFieldNames
public interface KibanaLogField
Interface that allows client projects to use their own log fields.- Since:
- 2.0.0
- Author:
- Paul Klos
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getLogName()
Get the name with which this field will appear in the log.default boolean
matches(String key)
Check if a key matches.
-
-
-
Method Detail
-
getLogName
String getLogName()
Get the name with which this field will appear in the log.- Returns:
- the log name of the field
-
matches
default boolean matches(String key)
Check if a key matches.- Parameters:
key
- the key to match- Returns:
- true if not null and if the supplied key equals this key.
-
-