Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Add the method containsKey() method to class org.apache.logging.log4j.message.MapMessage which delegates to the underlying data:
/** * Returns {@code true} if this data structure contains the specified key, {@code false} otherwise. * * @param key the key whose presence to check. May be {@code null}. * @return {@code true} if this data structure contains the specified key, {@code false} otherwise * @since 2.9 */ public boolean containsKey(final String key) { return data.containsKey(key); }