![]() |
![]() |
slf4j-api-1.6.1egalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"); } mdcAdapter.put(key, val); } public static String get(String key) throws IllegalArgumentException { if (key == null) { throw new IllegalArgumentException("key parameter cannot be null"); } if (mdcAdapter == null) { throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"); } return mdcAdapter.get(key); } public static void remove(String key) throws IllegalArgumentException { if (key == null) { throw new IllegalArgumentException("key parameter cannot be null"); } if (mdcAdapter == null) { throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"); } mdcAdapter.remove(key); } public static void clear() { if (mdcAdapter == null) { throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"); } mdcAdapter.clear(); } public static Map getCopyOfContextMap() { if (mdcAdapter == null) { throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"); } return mdcAdapter.getCopyOfContextMap(); } public static void setContextMap(Map contextMap) { if (mdcAdapter == null) { throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA"); } mdcAdapter.setContextMap(contextMap); } public static MDCAdapter getMDCAdapter() { return mdcAdapter; } } /* Location: * Qualified Name: org.slf4j.MDC * Java Class Version: 1.3 (47.0) * JD-Core Version: 0.7.1 */ package org.slf4j.spi; import org.slf4j.Logger; import org.slf4j.Marker; public abstract interface LocationAwareLogger extends Logger { public static final int TRACE_INT = 0; public static final int DEBUG_INT = 10; public static final int INFO_INT = 20; public static final int WARN_INT = 30; public static final int ERROR_INT = 40; public abstract void log(Marker paramMarker, String paramString1, int paramInt, String paramString2, Object[] paramArrayOfObject, Throwable paramThrowable); } /* Location: * Qualified Name: org.slf4j.spi.LocationAwareLogger * Java Class Version: 1.3 (47.0) * JD-Core Version: 0.7.1 */ package org.slf4j.spi; import org.slf4j.ILoggerFactory; public abstract interface LoggerFactoryBinder { public abstract ILoggerFactory getLoggerFactory(); public abstract String getLoggerFactoryClassStr(); } /* Location: * Qualified Name: org.slf4j.spi.LoggerFactoryBinder * Java Class Version: 1.3 (47.0) * JD-Core Version: 0.7.1 */ package org.slf4j.spi; import org.slf4j.IMarkerFactory; public abstract interface MarkerFactoryBinder { public abstract IMarkerFactory getMarkerFactory(); public abstract String getMarkerFactoryClassStr(); } /* Location: * Qualified Name: org.slf4j.spi.MarkerFactoryBinder * Java Class Version: 1.3 (47.0) * JD-Core Version: 0.7.1 */ package org.slf4j.spi; import java.util.Map; public abstract interface MDCAdapter { public abstract void put(String paramString1, String paramString2); public abstract String get(String paramString); public abstract void remove(String paramString); public abstract void clear(); public abstract Map getCopyOfContextMap(); public abstract void setContextMap(Map paramMap); } /* Location: * Qualified Name: org.slf4j.spi.MDCAdapter * Java Class Version: 1.3 (47.0) * JD-Core Version: 0.7.1 */ Further reading...For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.New!JAR listings
|