org.apache.logging.log4j.core.layout
Class LoggerFields

java.lang.Object
  extended by org.apache.logging.log4j.core.layout.LoggerFields

public final class LoggerFields
extends Object

A LoggerFields container.


Method Summary
static LoggerFields createLoggerFields(KeyValuePair[] keyValuePairs)
          Create a LoggerFields from KeyValuePairs.
 Map<String,String> getMap()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMap

public Map<String,String> getMap()

toString

public String toString()
Overrides:
toString in class Object

createLoggerFields

public static LoggerFields createLoggerFields(KeyValuePair[] keyValuePairs)
Create a LoggerFields from KeyValuePairs.

Parameters:
keyValuePairs - An array of KeyValuePairs.
Returns:
A LoggerFields instance containing a Map.


Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.