org.apache.logging.log4j.core.filter
Class ValueLevelPair

java.lang.Object
  extended by org.apache.logging.log4j.core.filter.ValueLevelPair

public class ValueLevelPair
extends Object

A key and its value.


Constructor Summary
ValueLevelPair(String key, Level level)
           
 
Method Summary
static ValueLevelPair createPair(String key, String value)
          Create a Value/Level pair using the Log Levels.
 String getKey()
           
 Level getLevel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueLevelPair

public ValueLevelPair(String key,
                      Level level)
Method Detail

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.