|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.lang.text.StrLookup
org.slf4j.ext.MDCStrLookup
public class MDCStrLookup
This class can be used with the Commons Lang StrSubstitutor to replace tokens that occur in Strings with their values in the MDC.
Constructor Summary | |
---|---|
MDCStrLookup()
|
Method Summary | |
---|---|
java.lang.String |
lookup(java.lang.String key)
Looks up up a value in the MDC. |
Methods inherited from class org.apache.commons.lang.text.StrLookup |
---|
mapLookup, noneLookup, systemPropertiesLookup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MDCStrLookup()
Method Detail |
---|
public java.lang.String lookup(java.lang.String key)
lookup
in class org.apache.commons.lang.text.StrLookup
key
- the key to be looked up, may be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |