org.apache.logging.log4j.core.filter
Class ValueLevelPair
java.lang.Object
org.apache.logging.log4j.core.filter.ValueLevelPair
public class ValueLevelPair
- extends Object
A key and its value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueLevelPair
public ValueLevelPair(String key,
Level level)
getKey
public String getKey()
getLevel
public Level getLevel()
createPair
public static ValueLevelPair createPair(String key,
String value)
- Create a Value/Level pair using the Log Levels.
- Parameters:
key
- The key.value
- Its value.
- Returns:
- A ValueLevelPair.
Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.