org.apache.logging.log4j.core.layout
Class LoggerFields
java.lang.Object
org.apache.logging.log4j.core.layout.LoggerFields
public final class LoggerFields
- extends Object
A LoggerFields container.
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.