Klasse SlingContextUtil
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
org.apache.sling.commons.log.logback.internal.util.SlingContextUtil
- Alle implementierten Schnittstellen:
ch.qos.logback.core.spi.ContextAware
public class SlingContextUtil
extends ch.qos.logback.core.spi.ContextAwareBase
Custom util such that origin can be customized
-
Feldübersicht
Von Klasse geerbte Felder ch.qos.logback.core.spi.ContextAwareBase
context -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSlingContextUtil(@NotNull ch.qos.logback.core.Context context, @NotNull Object origin) Constructor -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected @NotNull ObjectReturn the origin where this instance was declaredVon Klasse geerbte Methoden ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Konstruktordetails
-
SlingContextUtil
public SlingContextUtil(@NotNull @NotNull ch.qos.logback.core.Context context, @NotNull @NotNull Object origin) Constructor- Parameter:
context- the logging contextorigin- the origin object
-
-
Methodendetails
-
getDeclaredOrigin
Return the origin where this instance was declared- Setzt außer Kraft:
getDeclaredOriginin Klassech.qos.logback.core.spi.ContextAwareBase- Gibt zurück:
- the declared origin
-