Package com.github.valfirst.slf4jtest
Class TestLoggingEventBuilder.TestKeyValuePair
- java.lang.Object
-
- org.slf4j.event.KeyValuePair
-
- com.github.valfirst.slf4jtest.TestLoggingEventBuilder.TestKeyValuePair
-
- Enclosing class:
- TestLoggingEventBuilder
public static class TestLoggingEventBuilder.TestKeyValuePair extends KeyValuePair
Extension ofKeyValuePair
with overriddenObject.equals(java.lang.Object)
andObject.hashCode()
methods. This class must be used on the left hand side ofObject.equals(java.lang.Object)
instead ofKeyValuePair
.KeyValuePair
can be used on the right hand side.
-
-
Field Summary
-
Fields inherited from class org.slf4j.event.KeyValuePair
key, value
-
-
Constructor Summary
Constructors Constructor Description TestKeyValuePair(String key, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
-
Methods inherited from class org.slf4j.event.KeyValuePair
toString
-
-