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

    Konstruktoren
    Konstruktor
    Beschreibung
    SlingContextUtil(@NotNull ch.qos.logback.core.Context context, @NotNull Object origin)
    Constructor
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected @NotNull Object
    Return the origin where this instance was declared

    Von Klasse geerbte Methoden ch.qos.logback.core.spi.ContextAwareBase

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • SlingContextUtil

      public SlingContextUtil(@NotNull @NotNull ch.qos.logback.core.Context context, @NotNull @NotNull Object origin)
      Constructor
      Parameter:
      context - the logging context
      origin - the origin object
  • Methodendetails

    • getDeclaredOrigin

      @NotNull protected @NotNull Object getDeclaredOrigin()
      Return the origin where this instance was declared
      Setzt außer Kraft:
      getDeclaredOrigin in Klasse ch.qos.logback.core.spi.ContextAwareBase
      Gibt zurück:
      the declared origin